diff --git a/api/promotions.js b/api/promotions.js index 565e859..6d59101 100644 --- a/api/promotions.js +++ b/api/promotions.js @@ -163,12 +163,17 @@ export function getBargainLog(params) { }); } + + /** - * 分页获取砍价活动-帮砍记录 + * 分页获取已参与的砍价活动 */ -export function helpBargain(kanJiaActivityId) { +export function getMineBargainLog(params) { return http.request({ - url: `promotion/kanjiaGoods/help/${kanJiaActivityId}`, - method: Method.POST, + url: `/promotion/kanjiaGoods/kanjiaActivity/mine/`, + method: Method.GET, + params }); } + + diff --git a/pages.json b/pages.json index c0a7383..8e52682 100644 --- a/pages.json +++ b/pages.json @@ -503,6 +503,11 @@ "navigationBarTextStyle": "white" } + },{ + "path": "bargain/log", + "style": { + "navigationBarTitleText": "砍价记录" + } },{ "path": "point/detail", "style": { diff --git a/pages/promotion/bargain/detail.vue b/pages/promotion/bargain/detail.vue index 6c692fa..beef97c 100644 --- a/pages/promotion/bargain/detail.vue +++ b/pages/promotion/bargain/detail.vue @@ -1,6 +1,7 @@