1.提交缺失的东西

This commit is contained in:
2025-08-08 17:30:30 +08:00
parent 03cdb34db4
commit 1d1f98027c

View File

@ -49,10 +49,10 @@ class OrderController extends BaseApiController
$post = $this->request->post();
$post['user_id'] = $this->userId;
$post['client'] = $this->client;
$check = $this->validate($post, 'app\api\validate\OrderValidate.buy');
if (true !== $check) {
return $this->fail($check);
}
// $check = $this->validate($post, 'app\api\validate\OrderValidate.buy');
// if (true !== $check) {
// return $this->fail($check);
// }
$action = $post['action'];
$info = OrderLogic::info($post, $this->userId);