1.提交缺失的东西
This commit is contained in:
@ -49,10 +49,10 @@ class OrderController extends BaseApiController
|
|||||||
$post = $this->request->post();
|
$post = $this->request->post();
|
||||||
$post['user_id'] = $this->userId;
|
$post['user_id'] = $this->userId;
|
||||||
$post['client'] = $this->client;
|
$post['client'] = $this->client;
|
||||||
$check = $this->validate($post, 'app\api\validate\OrderValidate.buy');
|
// $check = $this->validate($post, 'app\api\validate\OrderValidate.buy');
|
||||||
if (true !== $check) {
|
// if (true !== $check) {
|
||||||
return $this->fail($check);
|
// return $this->fail($check);
|
||||||
}
|
// }
|
||||||
|
|
||||||
$action = $post['action'];
|
$action = $post['action'];
|
||||||
$info = OrderLogic::info($post, $this->userId);
|
$info = OrderLogic::info($post, $this->userId);
|
||||||
|
|||||||
Reference in New Issue
Block a user