隐私协议菜单,店铺详情店铺详情非空判断,自定义logo

This commit is contained in:
mhhhh
2022-05-17 09:19:36 +08:00
parent 727d240715
commit 3cd57a6915
15 changed files with 531 additions and 139 deletions

View File

@@ -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`);
};

View File

@@ -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"})
}