初始化短信日志的前端
This commit is contained in:
20
ruoyi-ui/src/api/system/sms/smsLog.js
Normal file
20
ruoyi-ui/src/api/system/sms/smsLog.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import request from '@/utils/request'
|
||||
|
||||
// 获得短信日志分页
|
||||
export function getSmsLogPage(query) {
|
||||
return request({
|
||||
url: '/system/sms-log/page',
|
||||
method: 'get',
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 导出短信日志 Excel
|
||||
export function exportSmsLogExcel(query) {
|
||||
return request({
|
||||
url: '/system/sms-log/export-excel',
|
||||
method: 'get',
|
||||
params: query,
|
||||
responseType: 'blob'
|
||||
})
|
||||
}
|
Reference in New Issue
Block a user