浏览代码

update: coupon

tokumeikoi 3 年之前
父节点
当前提交
b38f7979d6
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      app/Http/Requests/Admin/CouponSave.php

+ 2 - 1
app/Http/Requests/Admin/CouponSave.php

@@ -38,7 +38,8 @@ class CouponSave extends FormRequest
             'started_at.integer' => '开始时间格式有误',
             'ended_at.required' => '结束时间不能为空',
             'ended_at.integer' => '结束时间格式有误',
-            'limit_use.integer' => '使用次数格式有误',
+            'limit_use.integer' => '最大使用次数格式有误',
+            'limit_use_with_user.integer' => '限制用户使用次数格式有误',
             'limit_plan_ids.array' => '指定订阅格式有误'
         ];
     }