|
@@ -194,8 +194,8 @@ class OrdersController extends WebAction |
|
@@ -194,8 +194,8 @@ class OrdersController extends WebAction |
194
|
}
|
194
|
}
|
195
|
$uid = $this->auditJumpLogin();
|
195
|
$uid = $this->auditJumpLogin();
|
196
|
$orderCode = trim($this->post('orderCode', '')); //订单编号
|
196
|
$orderCode = trim($this->post('orderCode', '')); //订单编号
|
197
|
- $reason = $this->get('reason', ''); //取消订单原因
|
|
|
198
|
- $reasonid = $this->get('reasonId', ''); //取消原因id
|
197
|
+ $reason = $this->post('reason', ''); //取消订单原因
|
|
|
198
|
+ $reasonid = $this->post('reasonId', ''); //取消原因id
|
199
|
$data = OrderData::cancelUserOrder($uid, $orderCode, $reason, $reasonid);
|
199
|
$data = OrderData::cancelUserOrder($uid, $orderCode, $reason, $reasonid);
|
200
|
if (!isset($data['code'])) {
|
200
|
if (!isset($data['code'])) {
|
201
|
break;
|
201
|
break;
|
|
@@ -267,7 +267,7 @@ class OrdersController extends WebAction |
|
@@ -267,7 +267,7 @@ class OrdersController extends WebAction |
267
|
// $address = $this->get('address', ''); //地址
|
267
|
// $address = $this->get('address', ''); //地址
|
268
|
// $mobile = $this->get('mobile', ''); //手机号码
|
268
|
// $mobile = $this->get('mobile', ''); //手机号码
|
269
|
// $phone = $this->get('phone', ''); //固定电话
|
269
|
// $phone = $this->get('phone', ''); //固定电话
|
270
|
- $order_code = 1615400071; //订单号
|
270
|
+ $order_code = 1616956289; //订单号
|
271
|
$user_name = '接口测试'; //收货人
|
271
|
$user_name = '接口测试'; //收货人
|
272
|
$area_code = 321023; //区号
|
272
|
$area_code = 321023; //区号
|
273
|
$address = '测试地址'; //地址
|
273
|
$address = '测试地址'; //地址
|
|
@@ -277,9 +277,9 @@ class OrdersController extends WebAction |
|
@@ -277,9 +277,9 @@ class OrdersController extends WebAction |
277
|
// break;
|
277
|
// break;
|
278
|
// }
|
278
|
// }
|
279
|
$result = OrderData::updateDeliveryAddress($order_code, $address_id, $user_name, $area_code, $address, $mobile, $phone);
|
279
|
$result = OrderData::updateDeliveryAddress($order_code, $address_id, $user_name, $area_code, $address, $mobile, $phone);
|
280
|
- if (!isset($result['code'])) {
|
|
|
281
|
- break;
|
|
|
282
|
- }
|
280
|
+// if (!isset($result['code'])) {
|
|
|
281
|
+// break;
|
|
|
282
|
+// }
|
283
|
}
|
283
|
}
|
284
|
while (false);
|
284
|
while (false);
|
285
|
|
285
|
|