wuggemail@foxmail.com 3 months ago
parent
commit
7ce41c59c9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/cxinv/controller/Adjust.php

+ 1 - 1
app/cxinv/controller/Adjust.php

@@ -40,7 +40,7 @@ class Adjust extends Base
         $ids = $this->request->param("id","0","int");
         if($ids==0) return error("参数错误");
         $info = $this->model
-            ->with(["ProductTz"=>["Product"],"Manager"])
+            ->with(["ProductTz"=>["Product"],"Manager"=>['ProductRela'=>['Product']]])
             ->findOrEmpty($ids);
         if($info->isEmpty()) return error("信息不存在");
         return success("获取成功",$info);