lrf 2 年 前
コミット
0f5ed326b2
1 ファイル変更1 行追加1 行削除
  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');