20 lines
360 B
JavaScript
20 lines
360 B
JavaScript
import request from '@/utils/request'
|
|
|
|
// 分页查询短信列表
|
|
export function getSmsList(query) {
|
|
return request({
|
|
url: 'backendApi/smsManager/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 发送短信
|
|
export function sendSms(data) {
|
|
return request({
|
|
url: 'backendApi/smsManager/send',
|
|
method: 'post',
|
|
data: data
|
|
})
|
|
}
|