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');