mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-ui.git
synced 2025-12-18 08:55:52 +08:00
隐私协议菜单,店铺详情店铺详情非空判断,自定义logo
This commit is contained in:
@@ -19,3 +19,7 @@ export const getVerifyImg = (verificationEnums) => {
|
||||
export const postVerifyImg = (params) => {
|
||||
return postRequestWithNoToken(`${commonUrl}/common/common/slider/${params.verificationEnums}`, params);
|
||||
};
|
||||
//获取LOGO
|
||||
export const getLogo = ()=>{
|
||||
return getRequest (`${commonUrl}/common/common/logo`);
|
||||
};
|
||||
|
||||
@@ -105,3 +105,14 @@ export const getArticle = (params) => {
|
||||
export const delArticle = (ids) => {
|
||||
return deleteRequest(`/other/article/delByIds/${ids}`)
|
||||
}
|
||||
|
||||
|
||||
|
||||
//获取隐私协议数据
|
||||
export const getPrivacy = (type) => {
|
||||
return getRequest(`/other/article/type/${type}`)
|
||||
}
|
||||
//修改隐私协议数据
|
||||
export const updatePrivacy = (id,type,params) => {
|
||||
return putRequest(`/other/article/updateArticle/${type}?id=${id}`, params, {"Content-Type": "application/json"})
|
||||
}
|
||||
Reference in New Issue
Block a user