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
336463f3
Commit
336463f3
authored
Jun 21, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
agent_error_log
parent
9f3165dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
Broker.php
application/index/controller/Broker.php
+1
-1
BrokerService.php
application/index/service/BrokerService.php
+1
-2
No files found.
application/index/controller/Broker.php
View file @
336463f3
...
...
@@ -556,7 +556,7 @@ class Broker extends Basic
//查看
$m_agent
=
new
AAgents
();
$field
=
'id,name,phone,password,district_id,store_id,sex,admin_off,remarks'
;
$result
[
'data'
]
=
$m_agent
->
verifyUser
(
$field
,
''
,
[
'id'
=>
$this
->
params
[
'id'
]
]);
$result
[
'data'
]
=
$m_agent
->
getAgentInfo
(
$field
,
$this
->
params
[
'id'
]);
}
return
$this
->
response
(
$result
[
'code'
],
$result
[
'msg'
],
$result
[
'data'
]);
}
...
...
application/index/service/BrokerService.php
View file @
336463f3
...
...
@@ -135,8 +135,7 @@ class BrokerService
$new_site_id
=
$m_district
->
getDistrictKeyById
(
'site_id'
,
[
'id'
=>
$data
[
'district_id'
]]);
}
else
{
$agent_old
=
$this
->
m_agent
->
getAgentById
(
$field
,
[
'phone'
=>
$data
[
'phone'
],
'status'
=>
0
]);
$where
[
'id'
]
=
$data
[
'id'
];
$agent_data
=
$this
->
m_agent
->
verifyUser
(
$field
,
''
,
$where
);
$agent_data
=
$this
->
m_agent
->
getAgentInfo
(
$field
,
$data
[
'id'
]);
if
(
empty
(
$agent_data
))
{
$result
[
'msg'
]
=
'没有该用户'
;
...
...
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