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
e3fc7869
Commit
e3fc7869
authored
Aug 20, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
id_card
parent
e8c17c28
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
Broker.php
application/index/controller/Broker.php
+10
-0
No files found.
application/index/controller/Broker.php
View file @
e3fc7869
...
...
@@ -398,6 +398,16 @@ class Broker extends Basic
$where
[
'a.district_id'
]
=
$params
[
'district_id'
];
}
if
(
!
empty
(
$params
[
'id_card'
]))
{
$m_bank
=
new
AAgentsBank
();
$agent_id
=
$m_bank
->
getFieldOneValue
(
'agent_id'
,
[
'id_card'
=>
$params
[
'id_card'
],
'is_del'
=>
0
]);
if
(
$agent_id
)
{
$where
[
'id'
]
=
$agent_id
;
}
else
{
return
$this
->
response
(
200
,
''
);
}
}
$field
=
"a.id,a.store_id,a.img,a.district_id,a.`level`,a.`name`,a.phone,a.`status`,a.inviter_id,a.create_time,
ifnull(s.store_name,'')store_name,ifnull(d.district_name,'')district_name,ifnull(g.title,'无')groupname,a.site_id"
;
$order
=
'a.id DESC'
;
...
...
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