|
@@ -2979,12 +2979,12 @@ class Whlabel_bh extends Start_Controller {
|
|
* 使用的是orderinfo作为唯一标识
|
|
* 使用的是orderinfo作为唯一标识
|
|
*/
|
|
*/
|
|
private function _check_by_number(){
|
|
private function _check_by_number(){
|
|
- $orderinfo = $this->input->get('orderinfo',true);
|
|
|
|
|
|
+ $orderinfo = $this->input->post('orderinfo',true);
|
|
$orderinfo = trim($orderinfo);
|
|
$orderinfo = trim($orderinfo);
|
|
if(empty($orderinfo)){
|
|
if(empty($orderinfo)){
|
|
exit(json_encode(['code'=>-1,'msg'=>'单号不能为空']));
|
|
exit(json_encode(['code'=>-1,'msg'=>'单号不能为空']));
|
|
}
|
|
}
|
|
- $info = $this->whlabel_bh->find(" orderinfo like '%".$orderinfo."%");
|
|
|
|
|
|
+ $info = $this->whlabel_bh->find(" orderinfo like '%".$orderinfo."%'");
|
|
if(empty($info)){
|
|
if(empty($info)){
|
|
exit(json_encode(['code'=>-1,'msg'=>'未找到该订单']));
|
|
exit(json_encode(['code'=>-1,'msg'=>'未找到该订单']));
|
|
}else{
|
|
}else{
|