修改插件
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
yiqiu
2025-11-21 00:01:45 +08:00
parent 7bc68457e9
commit cbd6250967
224 changed files with 61713 additions and 18 deletions

View File

@@ -0,0 +1,35 @@
/* 通用接口API */
// 获取国家列表
function getCountry (params) {
return Axios.get(`/country`, params)
}
// 获取支付接口
function getPayList () {
return Axios.get('/gateway')
}
// 获取公共配置
function getCommon () {
return Axios.get('/common')
}
// 获取登录信息
function getLoginInfo () {
return Axios.get('/login')
}
// 获取验证码
function getCaptcha () {
return Axios.get('/captcha')
}
// 登录
function logIn (params) {
return Axios.post('/login', params)
}
// 退出登录
function logout () {
return Axios.post('/logout')
}
// 获取权限
function getAuthRole () {
return Axios.get('/auth')
}