Commit 7c33e801 authored by clone's avatar clone

bug

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