Authored by shuaiguo

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

... ... @@ -70,7 +70,7 @@ export default {
limit: 500,
}
const result = await this.$api.post('/api/ufo/product/coupon', params);
const result = await this.$api.get('/api/ufo/product/coupon', params);
if (result.code === 200) {
const couponList = result.data.coupons || [];
... ...
... ... @@ -63,7 +63,7 @@ module.exports = {
'/api/ufo/product/coupon': {
ufo: true,
auth: true,
path: '/ufo-gateway/couponCenter',
path: '/couponCenter',
api: 'ufo.couponsInPrdDetail.list',
params: {
productId: {type: Number}, // 商品id
... ... @@ -76,7 +76,7 @@ module.exports = {
'/api/ufo/product/couponTopList': {
ufo: true,
auth: false,
path: '/ufo-gateway/couponCenter',
path: '/couponCenter',
api: 'ufo.couponTopListOfPrdDetail.list',
params: {
productId: {type: Number}, // 商品id
... ... @@ -96,7 +96,7 @@ module.exports = {
'/api/ufo/product/addsize': {
ufo: true,
auth: true,
path: '/ufo-gateway/ufoLive',
path: '/ufoLive',
api: 'ufo.product.addSize',
params: {
product_id: {type: Number}, // 商品id
... ...
{
"name": "xianyu-ufo-app-web",
"version": "1.5.10",
"version": "1.5.11",
"private": true,
"description": "Xianyu Project With Express",
"repository": {
... ...