...
|
...
|
@@ -176,7 +176,7 @@ class OrderController extends HomeBaseController |
|
|
elseif ($data['payment'] == 0) {
|
|
|
$model = new OrderModel;
|
|
|
if ($model->orderCallBack($oid)) {
|
|
|
echo json_encode(['msg' => '下单成功', 'code' => 20000]);
|
|
|
echo json_encode(['msg' => '下单成功', 'code' => 20000, 'url'=>url('user/Center/orderDetail', ['oid' => $oid])]);
|
|
|
exit();
|
|
|
} else {
|
|
|
echo json_encode(['msg' => '下单失败', 'code' => 40000]);
|
...
|
...
|
|