更新:游客模式、我的湖分、我的证书
This commit is contained in:
@@ -313,4 +313,32 @@ export async function migrateUserData(data: { tel: string, code: string }) {
|
||||
data
|
||||
})
|
||||
return res
|
||||
}
|
||||
|
||||
/**
|
||||
* 我的湖分
|
||||
* @return
|
||||
*/
|
||||
export async function getUserContributionData() {
|
||||
const res = await mainClient.request<IApiResponse>({
|
||||
url: 'common/userContribution/getUserContribution',
|
||||
method: 'POST'
|
||||
})
|
||||
return res
|
||||
}
|
||||
|
||||
/**
|
||||
* 湖分列表
|
||||
* @param current 当前页码
|
||||
* @param limit 每页数量
|
||||
* @param type 湖分类型
|
||||
* @return
|
||||
*/
|
||||
export async function getUserContributionByTypeList(current : number, limit : number, type : string,) {
|
||||
const res = await mainClient.request<IApiResponse>({
|
||||
url: 'common/userContribution/getUserContributionByType',
|
||||
method: 'POST',
|
||||
data: { current, limit, type, }
|
||||
})
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user