2024-01-17 09:53:00 +08:00
|
|
|
import createAxios from '@/utils/request'
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询app个人中心信息详情
|
|
|
|
|
* @param id
|
|
|
|
|
*/
|
|
|
|
|
export const queryAppInfo = (type: string) => {
|
|
|
|
|
let form = new FormData()
|
|
|
|
|
form.append('type', type)
|
|
|
|
|
return createAxios({
|
|
|
|
|
url: '/cs-system-boot/appinfo/queryAppInfoByType',
|
|
|
|
|
method: 'post',
|
|
|
|
|
headers: {
|
|
|
|
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
|
|
|
},
|
|
|
|
|
data: form
|
|
|
|
|
})
|
|
|
|
|
}
|
2024-01-17 14:22:34 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 新增app基础信息
|
|
|
|
|
**/
|
|
|
|
|
export const addAppInfo = (data: { type: string, content: string }) => {
|
|
|
|
|
return createAxios({
|
|
|
|
|
url: '/cs-system-boot/appinfo/addAppInfo',
|
|
|
|
|
method: 'post',
|
|
|
|
|
data: data
|
|
|
|
|
})
|
|
|
|
|
}
|