修复内容
This commit is contained in:
@@ -91,8 +91,11 @@ class Order extends ApiBase
|
||||
|
||||
$order = OrderLogic::add($this->user_id, $info['data'], $post);
|
||||
|
||||
if ($order['code'] == 0) {
|
||||
$this->_error($order['msg']);
|
||||
}
|
||||
|
||||
return $order;
|
||||
$this->_success('', $order['data']);
|
||||
}
|
||||
|
||||
|
||||
@@ -572,6 +575,7 @@ class Order extends ApiBase
|
||||
|
||||
public function putday()
|
||||
{
|
||||
$this->_error('该时间内无法自主预约,请联系客服');
|
||||
$post = $this->request->post();
|
||||
$hourLists = $post['data']['hourLists'] ?? [];
|
||||
$orderid = $post['data']['id'] ?? 0;
|
||||
|
||||
Reference in New Issue
Block a user