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
52fb6262
Commit
52fb6262
authored
Jun 19, 2018
by
zhuwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
好友邀请列表增加field字段
parent
103975f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Member.php
application/api/controller/Member.php
+1
-1
Client.php
application/api_broker/controller/Client.php
+1
-1
No files found.
application/api/controller/Member.php
View file @
52fb6262
...
...
@@ -413,7 +413,7 @@ class Member extends Basic
$params
=
$this
->
params
;
$pageNo
=
empty
(
$params
[
'pageNo'
])
?
1
:
$params
[
'pageNo'
];
$pageSize
=
empty
(
$params
[
'pageSize'
])
?
15
:
$params
[
'pageSize'
];
$result
=
$this
->
user
->
field
(
'id,user_nick,user_phone,create_time,user_pic'
)
$result
=
$this
->
user
->
field
(
'id,user_nick,user_phone,create_time,user_pic
,other_pic
'
)
->
where
(
'referrer_id'
,
$id
)
->
where
(
'status'
,
0
)
->
order
(
'create_time desc'
)
...
...
application/api_broker/controller/Client.php
View file @
52fb6262
...
...
@@ -375,7 +375,7 @@ class Client extends Basic
$where
[
'status'
]
=
0
;
$where
[
'referrer_id'
]
=
$this
->
agentId
;
$where
[
'referrer_source'
]
=
20
;
$fields
=
'user_nick,user_phone,user_pic,create_time'
;
$fields
=
'user_nick,user_phone,user_pic,
other_pic,
create_time'
;
$data
[
'data'
]
=
$this
->
user
->
getUserByWhere
(
$pageNo
,
$pageSize
,
$where
,
$fields
);
foreach
(
$data
[
'data'
]
as
$k
=>
$v
)
{
...
...
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