1.提交缺失的东西

This commit is contained in:
2025-05-15 16:13:08 +08:00
parent 69366e4c96
commit 6a7805e076
2 changed files with 92 additions and 1 deletions

View File

@ -38,7 +38,7 @@ class CartController extends BaseApiController
public function add()
{
$post = $this->request->post();
$check = $this->validate($post, 'app\api\validate\Cart.add');
$check = $this->validate($post, 'app\api\validate\CartValidate.add');
if (true !== $check) {
return $this->fail($check);
}