lvhao 4 nedēļas atpakaļ
vecāks
revīzija
887aa3f9a8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      core/CoreApp/controllers/Returngoods.php

+ 1 - 1
core/CoreApp/controllers/Returngoods.php

@@ -225,7 +225,7 @@ class Returngoods extends Start_Controller {
         //     throw new Exception("订单不存在,请认真核对相关信息!!!");
         // }
         
-        $info = $this->returngoods->find("orderinfo = ".$order_info['orderinfo']);
+        $info = $this->returngoods->find("orderinfo = '".$order_info['orderinfo']."'");
         if(!empty($info) &&($info['status']!=120)){
             $this->_see([$info['id']]);
         }else{