注释数量限制

This commit is contained in:
liu 2024-06-20 15:54:01 +08:00
parent 6170e98fec
commit 6b29a32470

View File

@ -19,7 +19,7 @@ class CartValidate extends BaseValidate
* @var string[]
*/
protected $rule = [
'cart_num' => 'require|number',
'cart_num' => 'require',
'product_attr_unique' => 'require',
'store_id' => 'require|number',
'staff_id' => 'require|number',