·修改部分页面数据冗余

This commit is contained in:
lemon橪
2021-05-14 17:31:40 +08:00
parent 23804939eb
commit 7f4212755d
42 changed files with 1415 additions and 2987 deletions

View File

@@ -35,7 +35,7 @@ export function getRegionsById(id = 0) {
}
/**
* 文件上传
* 文件上传地址
* @type {string}
*/
export const upload =api.common+'/upload/file';

View 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,
});
}
/**
* 获取我的评论列表

View File

@@ -66,9 +66,10 @@ export function getLogisticsMessages(params) {
/**
* 获取版本更新信息
* TODO 获取版本更新信息 暂无此功能。后续会优化更新
* @param params
* @returns {AxiosPromise}
*
*/
export function getAppVersionList(params) {
params = params || {};