This commit is contained in:
彭桃 2023-03-27 14:38:02 +08:00
parent cb373a99e5
commit 8ba171039f

View File

@ -318,6 +318,10 @@ class Village extends BaseController
$www['village_id'] = $address['village_id'];
$news = Db::table('fa_szxc_village')->where($www)->field('id,title,address,people_num,images,views,likes,createtime,introduce,info,area_id,street_id,village_id')->find();
if ($news) {
$news['area_name'] = $area_name;
$news['street_name'] = $street_name;
$news['village'] = $village;
$news['brigade_name'] = $brigade_name;
// 判断redis
$user_id = $this->request->uid;
if($user_id){