|
|
@@ -19,7 +19,9 @@ class Thdj extends Lyapi_Controller{
|
|
|
|
|
|
$this->_json_error('请求方式错误','500');
|
|
|
}
|
|
|
- $waybill = $this->input->post('waybill',true);
|
|
|
+ $json_str = $this->input->raw_input_stream;
|
|
|
+ $data = json_decode($json_str,true);
|
|
|
+ $waybill = $data['waybill'];
|
|
|
if(empty($waybill)){
|
|
|
$this->_json_error('快递单号不能为空','500');
|
|
|
}
|