18
This commit is contained in:
+4
-3
@@ -32,7 +32,7 @@ export const businessModify = (params) =>
|
||||
// 用户信息
|
||||
export const businessInfoUpdate = (params) =>
|
||||
uni.$u?.http.post(
|
||||
"/user/info",
|
||||
"/user/profile",
|
||||
JSON.stringify({...params}),
|
||||
{
|
||||
header: {
|
||||
@@ -80,9 +80,10 @@ export const businessSearchUser = (keyword,searchtype) =>
|
||||
},
|
||||
}
|
||||
);
|
||||
export const getArticle = (id,type) => uni.$u?.http.post("/article/detail",JSON.stringify({id,type:(type? type : 'id')}));
|
||||
export const getSpage = (name) => uni.$u?.http.get(`/article/singpage?name=${name}`);
|
||||
export const getArticle = (id) => uni.$u?.http.get(`/article/detail?id=${id}`);
|
||||
export const getFriendCircle = (page=1,limit=10) =>{
|
||||
return uni.$u?.http.get("/friendcircle/list",JSON.stringify({limit:limit,page:page}));
|
||||
return uni.$u?.http.get(`/friendcircle/list?limit=${limit}&page=${page}`);
|
||||
}
|
||||
export const getFriendCircleNewcount = () =>{
|
||||
return uni.$u?.http.get("/friendcircle/newcount");
|
||||
|
||||
Reference in New Issue
Block a user