Commit 7c33e801 authored by clone's avatar clone

bug

parent 760bc377
...@@ -6,6 +6,7 @@ use app\api\extend\Basic; ...@@ -6,6 +6,7 @@ use app\api\extend\Basic;
use app\model\Applies; use app\model\Applies;
use app\model\AppointWatchShop; use app\model\AppointWatchShop;
use app\model\Evaluate; use app\model\Evaluate;
use app\model\GHouses;
use app\model\HouseInfos; use app\model\HouseInfos;
use think\helper\Time; use think\helper\Time;
use app\model\HouseImgs; use app\model\HouseImgs;
...@@ -31,7 +32,8 @@ class AppointmentTime extends Basic ...@@ -31,7 +32,8 @@ class AppointmentTime extends Basic
{ {
parent::__construct($request); parent::__construct($request);
$this->appointmentTimeModel = new AppointWatchShop(); $this->appointmentTimeModel = new AppointWatchShop();
$this->houseInfoModel = new HouseInfos(); //$this->houseInfoModel = new HouseInfos();
$this->houseInfoModel = new GHouses();
$this->dbImg = new HouseImgs(); $this->dbImg = new HouseImgs();
$this->appliesModel = new Applies(); $this->appliesModel = new Applies();
$this->evaluateMode = new Evaluate(); $this->evaluateMode = new Evaluate();
...@@ -45,8 +47,8 @@ class AppointmentTime extends Basic ...@@ -45,8 +47,8 @@ class AppointmentTime extends Basic
{ {
$params = $this->params; $params = $this->params;
/* $params = array( /* $params = array(
"user_id" => 1, "user_id" => 116,
"house_id" => 1, "house_id" => 49,
"house_title" => "楼盘1", "house_title" => "楼盘1",
"appellation" => "张三", "appellation" => "张三",
"phone" => "13817616312", "phone" => "13817616312",
......
...@@ -77,7 +77,7 @@ class Performance extends Basic ...@@ -77,7 +77,7 @@ class Performance extends Basic
"is_case" => 2,//1经纪人 2案场 "is_case" => 2,//1经纪人 2案场
"house_id" => 0 "house_id" => 0
);*/ );*/
if (!isset($params["agent_id"]) || !isset($params["start_time"]) || !isset($params["end_time"])) { if (!isset($params["agent_id"]) || !isset($params["start_time"]) || !isset($params["end_time"] )|| !isset($params["is_case"] )) {
return $this->response("101", "请求参数错误"); return $this->response("101", "请求参数错误");
} }
$house_id = 0; $house_id = 0;
......
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