mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-28 15:41:04 +08:00
47 lines
785 B
TypeScript
47 lines
785 B
TypeScript
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 TypeSelect() {
|
|
return http.request({
|
|
url: '/config/typeSelect',
|
|
method: 'get',
|
|
});
|
|
}
|
|
|
|
export function sendTestEmail(params) {
|
|
return http.request({
|
|
url: '/ems/sendTest',
|
|
method: 'post',
|
|
params,
|
|
});
|
|
}
|
|
|
|
export function sendTestSms(params) {
|
|
return http.request({
|
|
url: '/sms/sendTest',
|
|
method: 'post',
|
|
params,
|
|
});
|
|
}
|
|
|
|
export function getCashConfig() {
|
|
return http.request({
|
|
url: '/config/getCash',
|
|
method: 'get',
|
|
});
|
|
}
|