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-01-06 15:48:21 +0800
Commit
bf3e471493db5c93750e86cbf3ea1dbc29f3df1c
1 parent
9e094841
修改有货币接口返回的数据结构以及模板展示方式
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
template/m.yohobuy.com/actions/index/home/currency-new.phtml
yohobuy/m.yohobuy.com/application/models/Index/User.php
template/m.yohobuy.com/actions/index/home/currency-new.phtml
View file @
bf3e471
...
...
@@ -10,10 +10,12 @@
个
YOHO
币
</p>
<a
href=
"/home/currencyDetail"
class=
"more"
>查看明细</a>
{
{#notice
}
}
<div
class=
"coin-tip"
>
<span
class=
"icon"
>!</span>
{
{notice
}
}
</div>
{
{/notice
}
}
{
{/
yohoCoin
}
}
</div>
<div
class=
"banner"
>
...
...
yohobuy/m.yohobuy.com/application/models/Index/User.php
View file @
bf3e471
...
...
@@ -360,7 +360,11 @@ class UserModel
*/
public
static
function
getYohoCoinData
(
$uid
)
{
$result
=
array
();
$result
=
array
(
'yohoCoin'
=>
array
(
'coinNum'
=>
0
)
);
// 调用接口获取YOHO币
$yohoCoin
=
UserData
::
yohoCoinTotal
(
$uid
);
...
...
Please
register
or
login
to post a comment