...
|
...
|
@@ -245,22 +245,16 @@ class OrdersController extends WebAction |
|
|
break;
|
|
|
}
|
|
|
// 获取相关参数
|
|
|
$order_code = $this->get('orderCode', ''); //订单号
|
|
|
$user_name = $this->get('userName', ''); //收货人
|
|
|
$area_code = $this->get('areaCode', ''); //区号
|
|
|
$address = $this->get('address', ''); //地址
|
|
|
$mobile = $this->get('mobile', ''); //手机号码
|
|
|
$phoneNum = $this->get('phoneNum', ''); //固定电话
|
|
|
$phoneCode = $this->get('phoneCode', ''); //电话编号
|
|
|
$order_code = $this->post('orderCode', ''); //订单号
|
|
|
$user_name = $this->post('userName', ''); //收货人
|
|
|
$area_code = $this->post('areaCode', ''); //区号
|
|
|
$address = $this->post('address', ''); //地址
|
|
|
$mobile = $this->post('mobile', ''); //手机号码
|
|
|
$phoneNum = $this->post('phoneNum', ''); //固定电话
|
|
|
$phoneCode = $this->post('phoneCode', ''); //电话编号
|
|
|
if(!empty($phoneNum)){
|
|
|
$phone = $phoneCode.'-'.$phoneNum;
|
|
|
}
|
|
|
// $order_code = 1606640307; //订单号
|
|
|
// $user_name = '接口测试'; //收货人
|
|
|
// $area_code = 320102; //区号
|
|
|
// $address = '测试地址'; //地址
|
|
|
// $mobile = 18021408798; //手机号码
|
|
|
// $phone = 05128897456;
|
|
|
if (!$order_code || !$user_name || !$area_code || !$address) {
|
|
|
$result = array('code' => 400, 'message' => '缺失必填项', 'data' => '');
|
|
|
break;
|
...
|
...
|
|