Commit c601aa5cf260c1005af20e289f0f894e0e334a7b
1 parent
395b295b
限制值链接分享优惠券,不能列表领
Showing
1 changed file
with
4 additions
and
2 deletions
pages/goods/goodsInfo/goodsInfo.js
| @@ -609,12 +609,13 @@ Page({ | @@ -609,12 +609,13 @@ Page({ | ||
| 609 | 609 | ||
| 610 | if (th.data.is_closecoupon != 1) { | 610 | if (th.data.is_closecoupon != 1) { | 
| 611 | //----获取详情页的券的数量---- | 611 | //----获取详情页的券的数量---- | 
| 612 | - await getApp().request.promiseGet("/api/weshop/prom/coupon/page", { | 612 | + await getApp().request.promiseGet("/api/weshop/prom/coupon/pageCouponList", { | 
| 613 | data: { | 613 | data: { | 
| 614 | store_id: os.stoid, | 614 | store_id: os.stoid, | 
| 615 | type: 1, | 615 | type: 1, | 
| 616 | pageSize: 3, | 616 | pageSize: 3, | 
| 617 | page: 1, | 617 | page: 1, | 
| 618 | + is_share:0, | ||
| 618 | }, | 619 | }, | 
| 619 | }).then(res1 => { | 620 | }).then(res1 => { | 
| 620 | fir_quan = res1.data.data.pageData; | 621 | fir_quan = res1.data.data.pageData; | 
| @@ -3646,7 +3647,8 @@ Page({ | @@ -3646,7 +3647,8 @@ Page({ | ||
| 3646 | type: 1, | 3647 | type: 1, | 
| 3647 | pageSize: 100, | 3648 | pageSize: 100, | 
| 3648 | page: 1, | 3649 | page: 1, | 
| 3649 | - user_id: app.globalData.user_id | 3650 | + user_id: app.globalData.user_id, | 
| 3651 | + is_share:0 | ||
| 3650 | } | 3652 | } | 
| 3651 | }).then(res => { | 3653 | }).then(res => { | 
| 3652 | wx.hideLoading(); | 3654 | wx.hideLoading(); |