1.提交缺失的东西
This commit is contained in:
@ -53,7 +53,7 @@ class CartController extends BaseApiController
|
||||
public function change()
|
||||
{
|
||||
$post = $this->request->post();
|
||||
$check = $this->validate($post, 'app\api\validate\Cart.change');
|
||||
$check = $this->validate($post, 'app\api\validate\CartValidate.change');
|
||||
if ($check !== true) {
|
||||
return $this->fail($check);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user