mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 07:55:53 +08:00
·修改部分页面数据冗余
This commit is contained in:
@@ -35,7 +35,7 @@ export function getRegionsById(id = 0) {
|
||||
}
|
||||
|
||||
/**
|
||||
* 文件上传
|
||||
* 文件上传地址
|
||||
* @type {string}
|
||||
*/
|
||||
export const upload =api.common+'/upload/file';
|
||||
|
||||
@@ -72,19 +72,6 @@ export function receiveCoupons(couponId) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取当前会员积分
|
||||
* @returns {*}
|
||||
*/
|
||||
|
||||
export function getPoints() {
|
||||
return http.request({
|
||||
url: 'members/points/current',
|
||||
method: Method.GET,
|
||||
needToken: true,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取积分明细数据
|
||||
* @param params
|
||||
@@ -99,19 +86,6 @@ export function getPointsData(params) {
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取积分明细数据 按月分组
|
||||
* @param params
|
||||
* @returns {AxiosPromise}
|
||||
*/
|
||||
export function getPointsDataDetail(params) {
|
||||
return http.request({
|
||||
url: 'members/points/total',
|
||||
method: Method.GET,
|
||||
needToken: true,
|
||||
params,
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取我的评论列表
|
||||
|
||||
@@ -66,9 +66,10 @@ export function getLogisticsMessages(params) {
|
||||
|
||||
|
||||
/**
|
||||
* 获取版本更新信息
|
||||
* TODO 获取版本更新信息 暂无此功能。后续会优化更新
|
||||
* @param params
|
||||
* @returns {AxiosPromise}
|
||||
*
|
||||
*/
|
||||
export function getAppVersionList(params) {
|
||||
params = params || {};
|
||||
|
||||
Reference in New Issue
Block a user