wugg hace 2 años
padre
commit
b0a6ead47e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      application/Home/controller/Order.php

+ 1 - 1
application/Home/controller/Order.php

@@ -143,7 +143,7 @@ class Order extends Base
         if($id==""){
             return error_show(1004,"unit_id不能为空");
         }
-        $kg= Db::name('good')->where(["is_del" => 0,"id"=>$id,"status"=>1,"type"=>$this->userinfo['type']])->field("id,good_name,good_desc,,good_url,unit as name, unit_weight as weight,limit_num")->find();
+        $kg= Db::name('good')->where(["is_del" => 0,"id"=>$id,"status"=>1,"type"=>$this->userinfo['type']])->field("id,good_name,good_desc,good_url,unit as name, unit_weight as weight,limit_num")->find();
        // var_dump(Db::name('unit')->where(["is_del" => 0,"id"=>$id,"status"=>1])->getLastSql());
         if($kg==false){
             return error_show(1004,"商品未找到");