Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Y
ylc.llewan.com
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
llewan
ylc.llewan.com
Commits
21f4d58d
Commit
21f4d58d
authored
Sep 19, 2018
by
734642908@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户头像
parent
158666ea
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
UserController.class.php
Application/Home/Controller/UserController.class.php
+1
-1
No files found.
Application/Home/Controller/UserController.class.php
View file @
21f4d58d
...
...
@@ -159,7 +159,7 @@ class UserController extends BaseController
//获取用户头像
if
(
$userReceive
[
$lval
[
'en_name'
]][
'status'
]
>=
2
)
{
$userArr
=
M
(
"game_member"
,
""
,
C
(
"LEWAN_HEZI"
))
->
where
(
array
(
'uid'
=>
$userReceive
[
$lval
[
'en_name'
]][
'uid'
]))
->
field
(
'user_avatar'
)
->
find
();
if
(
!
empty
(
$userArr
&&
strstr
(
$u
val
[
'user_nickname'
],
'玩家
'
)
!=
false
))
{
if
(
!
empty
(
$userArr
&&
strstr
(
$u
serArr
[
'user_avatar'
],
'wx.qlogo.cn
'
)
!=
false
))
{
$taskList
[
$key
][
'list'
][
$lkey
][
'head'
]
=
$userArr
[
'user_avatar'
];
}
}
...
...
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