|
@@ -2511,13 +2511,14 @@ class Systemprint extends Start_Controller {
|
|
|
*/
|
|
|
public function _getInfoByNumber(){
|
|
|
$param = $this->input->get(NULL, TRUE);
|
|
|
- var_dump($param);
|
|
|
- die;
|
|
|
- //$param = $this->input->post(NULL, TRUE);
|
|
|
+ if(empty($param['number'])){
|
|
|
+ $param = $this->input->post(NULL, TRUE);
|
|
|
+ }
|
|
|
+
|
|
|
if(empty($param['number'])){
|
|
|
echo json_encode([
|
|
|
'code'=>-1,
|
|
|
- 'msg'=>"订单编码为传递",
|
|
|
+ 'msg'=>"订单编码未传递",
|
|
|
'data'=>[]
|
|
|
],JSON_UNESCAPED_UNICODE);
|
|
|
die;
|