Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
2016-04-28 09:51:12 +0800
Commit
d9f5880b701ed8ad03bcfc088286f74e9fe6b45c
1 parent
966949f3
按时间排序我的消息
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Index/User.php
yohobuy/m.yohobuy.com/application/models/Index/User.php
View file @
d9f5880
...
...
@@ -877,6 +877,10 @@ class UserModel
// 处理我的消息数据
if
(
isset
(
$messageData
[
'data'
][
'list'
])
&&
!
empty
(
$messageData
[
'data'
][
'list'
]))
{
$messages
=
$messageData
[
'data'
][
'list'
];
// 按时间排序我的消息
Helpers
::
sortArrByField
(
$messages
,
'create_time'
,
true
);
$one
=
array
();
foreach
(
$messages
as
$message
)
{
$one
=
array
();
...
...
Please
register
or
login
to post a comment