This commit is contained in:
Your Name
2026-04-22 12:14:39 +08:00
parent a1a0b74596
commit 4872e4d2e6
21 changed files with 1131 additions and 235 deletions
@@ -20,10 +20,12 @@ class OrderValidate extends BaseValidate
'order_type' => 'require|in:1,2,3,4,5,6,7',
'amount' => 'require|float',
'status' => 'require|in:1,2,3,4',
'payment_method' => 'in:alipay,wechat,wechat_work',
'payment_method' => 'in:alipay,wechat,wechat_work,fubei,manual',
'remark' => 'string|max:500',
'order_no' => 'string|max:50',
'is_supplement' => 'in:0,1',
'order_ids' => 'require|array',
'assistant_id' => 'require|integer|gt:0',
];
protected $message = [
@@ -44,5 +46,6 @@ class OrderValidate extends BaseValidate
'cancel' => ['id'],
'refund' => ['id'],
'delete' => ['id'],
'assign_assistant' => ['order_ids', 'assistant_id'],
];
}