...
|
...
|
@@ -194,8 +194,8 @@ class OrdersController extends WebAction |
|
|
}
|
|
|
$uid = $this->auditJumpLogin();
|
|
|
$orderCode = trim($this->post('orderCode', '')); //订单编号
|
|
|
$reason = $this->get('reason', ''); //取消订单原因
|
|
|
$reasonid = $this->get('reasonId', ''); //取消原因id
|
|
|
$reason = $this->post('reason', ''); //取消订单原因
|
|
|
$reasonid = $this->post('reasonId', ''); //取消原因id
|
|
|
$data = OrderData::cancelUserOrder($uid, $orderCode, $reason, $reasonid);
|
|
|
if (!isset($data['code'])) {
|
|
|
break;
|
...
|
...
|
@@ -267,7 +267,7 @@ class OrdersController extends WebAction |
|
|
// $address = $this->get('address', ''); //地址
|
|
|
// $mobile = $this->get('mobile', ''); //手机号码
|
|
|
// $phone = $this->get('phone', ''); //固定电话
|
|
|
$order_code = 1615400071; //订单号
|
|
|
$order_code = 1616956289; //订单号
|
|
|
$user_name = '接口测试'; //收货人
|
|
|
$area_code = 321023; //区号
|
|
|
$address = '测试地址'; //地址
|
...
|
...
|
@@ -277,9 +277,9 @@ class OrdersController extends WebAction |
|
|
// break;
|
|
|
// }
|
|
|
$result = OrderData::updateDeliveryAddress($order_code, $address_id, $user_name, $area_code, $address, $mobile, $phone);
|
|
|
if (!isset($result['code'])) {
|
|
|
break;
|
|
|
}
|
|
|
// if (!isset($result['code'])) {
|
|
|
// break;
|
|
|
// }
|
|
|
}
|
|
|
while (false);
|
|
|
|
...
|
...
|
|