Authored by shuaiguo

fix(商品详情):优惠券展示

@@ -70,7 +70,7 @@ export default { @@ -70,7 +70,7 @@ export default {
70 limit: 500, 70 limit: 500,
71 } 71 }
72 72
73 - const result = await this.$api.post('/api/ufo/product/coupon', params); 73 + const result = await this.$api.get('/api/ufo/product/coupon', params);
74 74
75 if (result.code === 200) { 75 if (result.code === 200) {
76 const couponList = result.data.coupons || []; 76 const couponList = result.data.coupons || [];
@@ -63,7 +63,7 @@ module.exports = { @@ -63,7 +63,7 @@ module.exports = {
63 '/api/ufo/product/coupon': { 63 '/api/ufo/product/coupon': {
64 ufo: true, 64 ufo: true,
65 auth: true, 65 auth: true,
66 - path: '/ufo-gateway/couponCenter', 66 + path: '/couponCenter',
67 api: 'ufo.couponsInPrdDetail.list', 67 api: 'ufo.couponsInPrdDetail.list',
68 params: { 68 params: {
69 productId: {type: Number}, // 商品id 69 productId: {type: Number}, // 商品id
@@ -76,7 +76,7 @@ module.exports = { @@ -76,7 +76,7 @@ module.exports = {
76 '/api/ufo/product/couponTopList': { 76 '/api/ufo/product/couponTopList': {
77 ufo: true, 77 ufo: true,
78 auth: false, 78 auth: false,
79 - path: '/ufo-gateway/couponCenter', 79 + path: '/couponCenter',
80 api: 'ufo.couponTopListOfPrdDetail.list', 80 api: 'ufo.couponTopListOfPrdDetail.list',
81 params: { 81 params: {
82 productId: {type: Number}, // 商品id 82 productId: {type: Number}, // 商品id
@@ -96,7 +96,7 @@ module.exports = { @@ -96,7 +96,7 @@ module.exports = {
96 '/api/ufo/product/addsize': { 96 '/api/ufo/product/addsize': {
97 ufo: true, 97 ufo: true,
98 auth: true, 98 auth: true,
99 - path: '/ufo-gateway/ufoLive', 99 + path: '/ufoLive',
100 api: 'ufo.product.addSize', 100 api: 'ufo.product.addSize',
101 params: { 101 params: {
102 product_id: {type: Number}, // 商品id 102 product_id: {type: Number}, // 商品id
1 { 1 {
2 "name": "xianyu-ufo-app-web", 2 "name": "xianyu-ufo-app-web",
3 - "version": "1.5.10", 3 + "version": "1.5.11",
4 "private": true, 4 "private": true,
5 "description": "Xianyu Project With Express", 5 "description": "Xianyu Project With Express",
6 "repository": { 6 "repository": {