退款数量取消
This commit is contained in:
parent
d05d73c86c
commit
c721213510
@ -19,7 +19,7 @@ class OrderValidate extends BaseValidate
|
||||
protected $rule = [
|
||||
'verify_code' => 'require',
|
||||
'refund_message' => 'require',
|
||||
'refund_num' => 'require|number',
|
||||
// 'refund_num' => 'require|number',
|
||||
'id' => 'require|number',
|
||||
'old_cart_id' => 'require|array',
|
||||
'refund_type' => 'require|number',
|
||||
@ -33,7 +33,7 @@ class OrderValidate extends BaseValidate
|
||||
protected $field = [
|
||||
'verify_code' => '验证码',
|
||||
'refund_message' => '退款原因',
|
||||
'refund_num' => '退款数量',
|
||||
// 'refund_num' => '退款数量',
|
||||
'id' => '订单id',
|
||||
'old_cart_id' => '购物车id',
|
||||
'refund_type' => '退款申请类型',
|
||||
@ -57,7 +57,7 @@ class OrderValidate extends BaseValidate
|
||||
*/
|
||||
public function sceneAdd()
|
||||
{
|
||||
return $this->only(['refund_message','refund_num','id','old_cart_id','refund_type']);
|
||||
return $this->only(['refund_message','id','old_cart_id','refund_type']);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user