Compare commits
No commits in common. "616b38a6d7ce6a7795cb00161025134a13b2ef4b" and "22706b80fdb0d313ae15e94d6be6ef981a50451f" have entirely different histories.
616b38a6d7
...
22706b80fd
|
@ -100,9 +100,6 @@
|
||||||
return $this->fail('缺少必要参数');
|
return $this->fail('缺少必要参数');
|
||||||
}
|
}
|
||||||
$data = Db::query("SELECT * FROM zzsy_land_plant_action WHERE id IN (SELECT max( id ) FROM zzsy_land_plant_action WHERE plant_id = {$params['plant_id']} GROUP BY type)");
|
$data = Db::query("SELECT * FROM zzsy_land_plant_action WHERE id IN (SELECT max( id ) FROM zzsy_land_plant_action WHERE plant_id = {$params['plant_id']} GROUP BY type)");
|
||||||
foreach($data as $k=>$v){
|
|
||||||
$data[$k]['detail'] = json_decode($v['detail'],true);
|
|
||||||
}
|
|
||||||
return $this->success('请求成功',$data);
|
return $this->success('请求成功',$data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue