Commit c3066737 authored by qinhaitao's avatar qinhaitao

feat: 🎸 接口格式

parent f02d51b9
...@@ -135,7 +135,8 @@ export default class TaskService extends UserService { ...@@ -135,7 +135,8 @@ export default class TaskService extends UserService {
async getItemListWithCollectStatus(list: { list: ITaoBaoItems[] }, userInfo: IUserInfo) { async getItemListWithCollectStatus(list: { list: ITaoBaoItems[] }, userInfo: IUserInfo) {
const { taskInfo } = getTotalCompleteTask('collectGoods', userInfo) const { taskInfo } = getTotalCompleteTask('collectGoods', userInfo)
return list.list.map(v => { return {
list: list.list.map(v => {
return { return {
...v, ...v,
// 完成列表是否含有itemId // 完成列表是否含有itemId
...@@ -143,4 +144,5 @@ export default class TaskService extends UserService { ...@@ -143,4 +144,5 @@ export default class TaskService extends UserService {
} }
}) })
} }
}
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment