/*
 * @Descripttion: 
 * @version: 
 * @Author: 王三华
 * @Date: 2023-09-19 10:20:52
 */
const http = uni.$u.http
// 验证码
export const captchaImage = (params) => http.get('/code', { params })
// 登录
export const login = (params) => http.post('/system/auth/manage/login',params)
// 个人信息
export const getInfo = () => http.get('/system/manage/user/get-info')
//获取国家权限
export const countryQx = (params) => http.get('system/manage/user-country/list', { params })
//获取国家
export const countryList = (params) => http.get('/system/api/country/list', { params })
// 切换结算国
export const changeList = (id) => http.post('/system/manage/user-country/change/' + id)

// 退出登录
export const logout = () => http.delete('/system/auth/manage/logout')

//获取菜单路由
export const getRouters = (params) => http.get('/system/manage/menu/get-routers', { params })
