19 lines
489 B
TypeScript
19 lines
489 B
TypeScript
|
import type { PageParams } from '@/types/global'
|
||
|
import type { RootName } from '@/types/userCenter'
|
||
|
import { request } from '@/utils/request'
|
||
|
|
||
|
// 个人中心按钮素材配置
|
||
|
export const postCenterConfigApi = (data:PageParams) => {
|
||
|
return request<RootName>({
|
||
|
method: 'POST',
|
||
|
url: 'shop/user/centerConfig',
|
||
|
})
|
||
|
}
|
||
|
// 个人中心数据
|
||
|
export const postUserInfoApi = (data:PageParams) => {
|
||
|
return request<RootName>({
|
||
|
method: 'POST',
|
||
|
url: 'shop/user/userInfo',
|
||
|
})
|
||
|
}
|