Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
9 years ago
Commit
b41bd9f94c9af2374be7e699423af3ba016e28b4
1 parent
d8cd3ffe
给个人中心各数据的数目添加默认值
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/models/Index/User.php
yohobuy/m.yohobuy.com/application/models/Index/User.php
View file @
b41bd9f
...
...
@@ -51,7 +51,19 @@ class UserModel
*/
public
static
function
getInfoNumData
(
$uid
,
$udid
)
{
$result
=
array
();
$result
=
array
(
'wait_pay_num'
=>
0
,
'wait_cargo_num'
=>
0
,
'send_cargo_num'
=>
0
,
'brand_favorite_total'
=>
0
,
'product_favorite_total'
=>
0
,
'inbox_total'
=>
0
,
'comment_total'
=>
0
,
'refund_exchange_num'
=>
0
,
'yoho_coin_num'
=>
0
,
'coupon_num'
=>
0
,
'product_browse'
=>
0
);
// 调用接口获取个人中心页面优惠券,收藏的商品等的数目数据
$infoNumData
=
UserData
::
infoNum
(
$uid
,
$udid
);
...
...
Please
register
or
login
to post a comment