lrf %!s(int64=2) %!d(string=hai) anos
pai
achega
0f5ed326b2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/service/user/userCoupon.js

+ 1 - 1
app/service/user/userCoupon.js

@@ -181,7 +181,7 @@ class UserCouponService extends CrudService {
         disList.find(f => f.value === discount_type),
         'label'
       );
-      const discount_config = _.get(coupon, 'discoun_config');
+      const discount_config = _.get(coupon, 'discount_config');
       obj = { ...obj, discount_type, discount_type_label, discount_config };
       // 使用
       const use_limit = _.get(coupon, 'use_limit');