diff --git a/api/activity.js b/api/activity.js index b308093..0f48d96 100644 --- a/api/activity.js +++ b/api/activity.js @@ -143,8 +143,8 @@ export function initiateAssistApi(id) { /** * 助力详情 */ -export function getAssistDetail(id,data) { - return request.get('store/product/assist/detail/' + id,data); +export function getAssistDetail(id, data) { + return request.get('store/product/assist/detail/' + id, data); } /** * 助力好友 @@ -202,7 +202,7 @@ export function getTopicList(id, data) { * 活动专题详情 */ export function getTopicDetail(id) { - return request.get(`activity/info/${id}`,{}, { + return request.get(`activity/info/${id}`, {}, { noAuth: true }); } @@ -210,7 +210,7 @@ export function getTopicDetail(id) { * 活动专题商品 */ export function getTopicProLst(data) { - return request.get(`product/spu/labels`,data, { + return request.get(`product/spu/labels`, data, { noAuth: true }); } @@ -218,7 +218,7 @@ export function getTopicProLst(data) { * 获取本地服务商户列表 */ export function getMerchantServiceLst(data) { - return request.get(`store/merchant/local`,data, { + return request.get(`store/merchant/local`, data, { noAuth: true }); } @@ -226,7 +226,7 @@ export function getMerchantServiceLst(data) { * 获取优惠券列表 */ export function getCouponLst(data) { - return request.get(`coupon/getlst`,data, { + return request.get(`coupon/getlst`, data, { noAuth: true }); } @@ -234,7 +234,7 @@ export function getCouponLst(data) { * 获取优惠券列表 */ export function getNewPeopleCouponLst(data) { - return request.get(`coupon/new_people`,data, { + return request.get(`coupon/new_people`, data, { noAuth: true }); } @@ -242,7 +242,7 @@ export function getNewPeopleCouponLst(data) { * 获取热卖排行列表 */ export function hotRankingApi(data) { - return request.get(`product/spu/get_hot_ranking`,data, { + return request.get(`product/spu/get_hot_ranking`, data, { noAuth: true }); } @@ -316,7 +316,7 @@ export function qrcode(data) { // 生成二维码 export function merchantRecord(data) { - return request.get(`merchantRecord`, data); + return request.get(`user/merchantRecord`, data); }