...
|
...
|
@@ -529,12 +529,7 @@ class HomeController extends AbstractAction |
|
|
$yh_channel = $this->get('yh_channel', 1);
|
|
|
$method = 'app.SpaceOrders.close';
|
|
|
$data = OrderData::cancelOrderData($order_code, $uid, $gender, $yh_channel, $method);
|
|
|
if ($data['code'] == 200) {
|
|
|
$arr = array();
|
|
|
$arr['code'] = $data['code'];
|
|
|
$arr['message'] = $data['message'];
|
|
|
echo json_encode($arr);
|
|
|
}
|
|
|
$this->echoJson($data);
|
|
|
}
|
|
|
|
|
|
/*
|
...
|
...
|
|