接口修改
This commit is contained in:
parent
ec0310c906
commit
aef4f6f2ed
@ -232,8 +232,8 @@ class Village extends BaseController
|
||||
$num3 =0;
|
||||
}
|
||||
$list['data'] = [
|
||||
['num'=>$num1,'text'=>'村庄数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/czs.png'],
|
||||
['num'=>$num2,'text'=>'村民数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/cms.png'],
|
||||
['num'=>$num1,'text'=>'村庄数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/cunzhaung.png'],
|
||||
['num'=>$num2,'text'=>'村民数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/cunming.png'],
|
||||
['num'=>$num3,'text'=>'户数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/hushu.png'],
|
||||
];
|
||||
$this->apiSuccess('获取成功', $list);
|
||||
@ -242,8 +242,8 @@ class Village extends BaseController
|
||||
$num2 = Db::table('fa_szxc_information_useraddress')->where('street_id',$code)->count();
|
||||
$num3 = Db::table('fa_szxc_information_usermsg')->where('is_hz',1)->where('street_id',$code)->count();
|
||||
$list['data'] = [
|
||||
['num'=>$num1,'text'=>'村庄数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/czs.png'],
|
||||
['num'=>$num2,'text'=>'村民数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/cms.png'],
|
||||
['num'=>$num1,'text'=>'村庄数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/cunzhaung.png'],
|
||||
['num'=>$num2,'text'=>'村民数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/cunming.png'],
|
||||
['num'=>$num3,'text'=>'户数','img'=>'https://lihai001.oss-cn-chengdu.aliyuncs.com/public/kk/hushu.png'],
|
||||
];
|
||||
$this->apiSuccess('获取成功', $list);
|
||||
|
Loading…
x
Reference in New Issue
Block a user