Merge branch 'master' of gitee.com:beijing_hongye_huicheng/lilishop-uniapp

This commit is contained in:
paulGao
2022-11-04 17:56:57 +08:00
41 changed files with 2087 additions and 1380 deletions

View File

@@ -28,3 +28,16 @@ export function getArticleDetail(type) {
});
}
/**
* 获取文章详情
* @param type
*/
export function getArticleDetailByType(type) {
return http.request({
url: `/other/article/type/${type}`,
method: Method.GET,
});
}

View File

@@ -1,6 +1,21 @@
import { http, Method } from "@/utils/request.js";
export function toSpecial(data) {
return http.request({
url: `/other/pageData/getSpecial`,
method: Method.GET,
data
});
}
/**
* 专题内容
*/
export function getSpecial(id) {
return http.request({
url: `/other/pageData/get/${id}`,
method: Method.GET,
});
}
/**
* 获取广告图

View File

@@ -48,6 +48,24 @@ export function messageMarkAsRead(ids) {
});
}
//读取站内消息
export function editMessages(message_id,params){
return http.request({
url:`/message/member/${message_id}`,
method:Method.PUT,
needToken:true,
params
})
}
//获取站内消息
export function messages(params) {
return http.request({
url: "/message/member",
method: Method.GET,
needToken: true,
params,
});
}
/**
* 获取物流消息列表

View File

@@ -13,7 +13,7 @@ import {http, Method} from '@/utils/request.js';
*/
export function getStoreList(params) {
return http.request({
url: '/store',
url: '/store/store',
method: Method.GET,
params,
});