Compare commits
2 Commits
26b4fbebc6
...
436ebb9a31
Author | SHA1 | Date |
---|---|---|
weiz | 436ebb9a31 | |
weiz | 628b5ee2e4 |
|
@ -51,12 +51,6 @@
|
|||
if($data['user_id'] != $this->userId){
|
||||
return $this->fail('土地信息与用户信息不匹配');
|
||||
}
|
||||
$landProduct = LandProduct::where('land_id',$params['land_id'])->findOrEmpty();
|
||||
if($landProduct->isEmpty()){
|
||||
$data['is_bind_product'] = 0;
|
||||
}else{
|
||||
$data['is_bind_product'] = 1;
|
||||
}
|
||||
$data['pic'] = json_decode($data['pic'],true);
|
||||
return $this->success('请求成功',$data->toArray());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue