Commit 3d95fe31 authored by hujun's avatar hujun

商铺详情房东手机号

parent 3023da8b
......@@ -16,6 +16,7 @@ use app\model\GHousesExt;
use app\model\GHousesFollowUp;
use app\model\GHousesImgs;
use app\model\GHousesToAgents;
use app\model\GLandlordPhone;
use app\model\OBargainModel;
use app\model\Regions;
use think\Log;
......@@ -458,7 +459,8 @@ class Shop extends Basic
}
if ($is_show_landlord) {
$result['landlord_phone'] = json_decode($result['landlord_phone'], true);
$m_landlord = new GLandlordPhone();
$result['landlord_phone'] = $m_landlord->getAllList('id,name,phone',['house_id'=>$params["id"], 'status'=>1]);
$result['is_show_landlord'] = 1;
} else {
$result['landlord_phone'] = [['name'=> '', 'phone'=>'']];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment