|
@@ -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);
|