yuantianjiao 6 lat temu
rodzic
commit
c3596586be
2 zmienionych plików z 3 dodań i 3 usunięć
  1. 1
    1
      src/pages/user/coupons/index.vue
  2. 2
    2
      src/util/api.js

+ 1
- 1
src/pages/user/coupons/index.vue Wyświetl plik

@@ -52,7 +52,7 @@ export default {
52 52
           desc: res[n].Coupon.Share.UseInstruction,
53 53
           time: this.toolClass.dateFormat(res[n].EndDate),
54 54
           useType: res[n].Status === 1 ? '未使用' : '已使用',
55
-          tag: res[n].Coupon.CouponType === 'coupon' ? '课程' : '商品',
55
+          tag: res[n].Coupon.CouponType === 'course' ? '课程' : '商品',
56 56
           customercouponid: res[n].CustomerCouponId,
57 57
           couponid: res[n].Coupon.CouponId,
58 58
           Coupon: res[n].Coupon

+ 2
- 2
src/util/api.js Wyświetl plik

@@ -1,5 +1,5 @@
1
-// const baseUrl = '/api-v2'
2
-const baseUrl = '/api'
1
+const baseUrl = '/api-v2'
2
+// const baseUrl = '/api'
3 3
 const wechat = '/wechat/:org'
4 4
 const guest = '/guest/:org'
5 5