...
|
...
|
@@ -390,12 +390,13 @@ class Attestation extends Api |
|
|
->field('a.*,c.id as farm_id,c.address,c.project_num,c.name as farm_name,c.identity,c.lng,c.lat')
|
|
|
->find();
|
|
|
if(!empty($info)){
|
|
|
$fa['is_ti'] = 1;
|
|
|
|
|
|
//查询入驻消息 拿出 申请人名字
|
|
|
$res = Db::name('personage')
|
|
|
->where('user_id',$user_id)
|
|
|
->find();
|
|
|
$fa['name'] = $res['name'];
|
|
|
$fa['is_ti'] = 1;
|
|
|
$fa['institution'] = $info['institution'];
|
|
|
$fa['id'] = $info['farm_id'];
|
|
|
$fa['identity'] = $info['identity'];
|
...
|
...
|
@@ -443,11 +444,12 @@ class Attestation extends Api |
|
|
->field('a.*,c.id as farm_id,c.address,c.project_num,c.name as farm_name,c.identity,c.lng,c.lat')
|
|
|
->find();
|
|
|
if(!empty($info)){
|
|
|
$list['is_ti'] = 1;
|
|
|
|
|
|
//查询入驻消息 拿出 申请人名字
|
|
|
$res = Db::name('company')
|
|
|
->where('user_id',$user_id)
|
|
|
->find();
|
|
|
$fa['is_ti'] = 1;
|
|
|
$fa['name'] = $res['name'];
|
|
|
$fa['address'] = $info['address'];
|
|
|
$fa['id'] = $info['farm_id'];
|
...
|
...
|
|