fix commission status update

This commit is contained in:
Tokumeikoi 2020-02-23 02:05:23 +08:00
parent 17d6d04cc6
commit 018e4aa810

View File

@ -15,7 +15,7 @@ class OrderUpdate extends FormRequest
{ {
return [ return [
'status' => 'in:0,1,2,3', 'status' => 'in:0,1,2,3',
'commission_status' => 'in:0,1' 'commission_status' => 'in:0,1,2'
]; ];
} }
@ -23,7 +23,7 @@ class OrderUpdate extends FormRequest
{ {
return [ return [
'status.in' => '销售状态格式不正确', 'status.in' => '销售状态格式不正确',
'commission_status.in' => '续费状态格式不正确' 'commission_status.in' => '佣金状态格式不正确'
]; ];
} }
} }