Commit 1c4ccbbc authored by zw's avatar zw

bug

parent 4e37071c
......@@ -11,6 +11,7 @@ namespace app\api\controller;
*/
use app\api\extend\Basic;
use app\api_broker\service\LookShopService;
use app\api_broker\service\VerifyService;
use app\model\AttentionModel;
use app\model\GHouses;
use app\model\GHousesImgs;
......@@ -305,6 +306,11 @@ class Shop extends Basic
$bargainModel = new OBargainModel();
$str = $bargainModel->selectBargainListByHouseId($params["id"]);
$result["enter_num"] .= $str;
$verify = new VerifyService();
$agentId = $verify->getPanpartyAgentsByHouseId($params["id"]);
$result["panParty"] = $agentId;
$result['new_sign_rule'] = "付{$result['payment_month']}{$result['deposit_month']},签订{$result['age_limit']}年";
return $this->response("200", 'request success', $result);
}
......
......@@ -315,7 +315,7 @@ class GHousesToAgents extends BaseModel
public function getHousesUpdateAgents($houses_id)
{
$select_data = $this
->field('b.id,name,a.type,b.phone,c.store_name,d.district_name')
->field('b.id,a.name,a.img,a.type,b.phone,c.store_name,d.district_name')
->alias('a')
->join('a_agents b', 'a.agents_id = b.id', 'LEFT')
->join("a_store c", "b.store_id = c.id", "left")
......
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