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
3a93095e
Commit
3a93095e
authored
Jul 10, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
field
parent
4e882bf4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
AppointmentTime.php
application/api/controller/AppointmentTime.php
+1
-1
Broker.php
application/api_broker/controller/Broker.php
+3
-1
No files found.
application/api/controller/AppointmentTime.php
View file @
3a93095e
...
...
@@ -86,7 +86,7 @@ class AppointmentTime extends Basic
$m_user
=
new
Users
();
$m_site
=
new
ASite
();
$site_id
=
$m_site
->
getSiteById
(
'id'
,
0
,[
'city'
=>
$
this
->
user_city
]);
$site_id
=
$m_site
->
getSiteById
(
'id'
,
0
,[
'city'
=>
$
houseInfo
[
'city'
]
]);
$user_where
[
'a.id'
]
=
$this
->
userId
;
$user_where
[
'b.site_id'
]
=
$site_id
;
$appoint_agent_id
=
$m_user
->
getAgentByCity
(
'c.id'
,
$user_where
);
...
...
application/api_broker/controller/Broker.php
View file @
3a93095e
...
...
@@ -874,7 +874,9 @@ class Broker extends Basic
{
header
(
'Access-Control-Allow-Origin:*'
);
$agents
=
new
AAgents
();
$data
=
$agents
->
getInfo
(
$this
->
agentPhone
);
$field
=
'id,device_id,store_id,auth_group_id,district_id,position,level,name,phone,sex,img,status,'
;
$field
.=
'inviter_id,create_time,update_time,admin_off,remarks,last_login_ip,last_login_time,quit_time,call_number,site_id'
;
$data
=
$agents
->
getInfo
(
$this
->
agentPhone
,
true
,
$field
);
$data
[
'openid'
]
=
""
;
$data
[
'token'
]
=
$this
->
authToken
;
return
$this
->
response
(
200
,
""
,
$data
);
...
...
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