From b38f7979d63b325c0a376c957ecc2b77f6f06d18 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Sat, 28 Aug 2021 16:34:22 +0900 Subject: [PATCH] update: coupon --- app/Http/Requests/Admin/CouponSave.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Http/Requests/Admin/CouponSave.php b/app/Http/Requests/Admin/CouponSave.php index 33be43c6..3bd5ec65 100644 --- a/app/Http/Requests/Admin/CouponSave.php +++ b/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' => '指定订阅格式有误' ]; }