创意发布&需求发布列表接口初步完成

This commit is contained in:
clay
2023-01-06 11:29:35 +08:00
parent e0fc034998
commit 7e594aa3cb
6 changed files with 43 additions and 35 deletions

View File

@@ -243,6 +243,13 @@ const apiService = {
resolve(service.post(url, id))
})
},
//获取创意发布&需求发布
getIdeasAndNeeds(type) {
const url = `/center/rlist?type=${type}`
return new Promise((resolve, reject) => {
resolve(service.get(url, type))
})
},
//收藏按钮
collect(pid) {
const url = `/center/addfav/?pid=${pid}`