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),
         disList.find(f => f.value === discount_type),
         'label'
         'label'
       );
       );
-      const discount_config = _.get(coupon, 'discoun_config');
+      const discount_config = _.get(coupon, 'discount_config');
       obj = { ...obj, discount_type, discount_type_label, discount_config };
       obj = { ...obj, discount_type, discount_type_label, discount_config };
       // 使用
       // 使用
       const use_limit = _.get(coupon, 'use_limit');
       const use_limit = _.get(coupon, 'use_limit');