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
hf
9 years ago
Commit
feb0592ccd9837b26208f755181867d38663bcd5
1 parent
35e3f623
code review by fei.hong : do fixes bug to home page show user vip info grade
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/models/Home/Grade.php
yohobuy/m.yohobuy.com/application/models/Home/Grade.php
View file @
feb0592
...
...
@@ -54,7 +54,7 @@ class GradeModel
//当vip等级升至顶级时,进度条满格
$result
[
'vipGrade'
][
'percent'
]
=
100
;
}
else
{
$result
[
'vipGrade'
][
'percent'
]
=
100
*
(
round
(
$data
[
'grade'
][
'current_
total
_cost'
]
/
$data
[
'grade'
][
'next_need_cost'
],
2
));
$result
[
'vipGrade'
][
'percent'
]
=
100
*
(
round
(
$data
[
'grade'
][
'current_
year
_cost'
]
/
$data
[
'grade'
][
'next_need_cost'
],
2
));
}
//距离升级所需消费金额
...
...
Please
register
or
login
to post a comment