Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
7c33e801
Commit
7c33e801
authored
Apr 04, 2018
by
clone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
760bc377
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
AppointmentTime.php
application/api/controller/AppointmentTime.php
+5
-3
Performance.php
application/api_broker/controller/Performance.php
+1
-1
No files found.
application/api/controller/AppointmentTime.php
View file @
7c33e801
...
...
@@ -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
();
...
...
@@ -45,8 +47,8 @@ class AppointmentTime extends Basic
{
$params
=
$this
->
params
;
/* $params = array(
"user_id" => 1,
"house_id" =>
1
,
"user_id" => 1
16
,
"house_id" =>
49
,
"house_title" => "楼盘1",
"appellation" => "张三",
"phone" => "13817616312",
...
...
application/api_broker/controller/Performance.php
View file @
7c33e801
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment