hbsmUniapp/src/api/userCenter.ts

19 lines
489 B
TypeScript
Raw Normal View History

2025-08-28 09:55:40 +08:00
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',
})
}