mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-29 02:43:23 +08:00
v2.0
This commit is contained in:
24
web/src/api/sys/config.ts
Normal file
24
web/src/api/sys/config.ts
Normal file
@@ -0,0 +1,24 @@
|
||||
import { http } from '@/utils/http/axios';
|
||||
|
||||
export function getConfig(params) {
|
||||
return http.request({
|
||||
url: '/config/get',
|
||||
method: 'get',
|
||||
params,
|
||||
});
|
||||
}
|
||||
export function updateConfig(params) {
|
||||
return http.request({
|
||||
url: '/config/update',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
export function sendTestEmail(params) {
|
||||
return http.request({
|
||||
url: '/ems/sendTest',
|
||||
method: 'post',
|
||||
params,
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user