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
xuqi
9 years ago
Commit
772b32c7650bb5026149c0156450ac2b5e39e331
1 parent
b6d60448
yoho coin
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
yohobuy/m.yohobuy.com/application/controllers/Home.php
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
772b32c
...
...
@@ -237,26 +237,14 @@ class HomeController extends AbstractAction
* YOHO币
*/
public
function
currencyAction
()
{
// $uid = $this->getUid();
$this
->
setNavHeader
(
'YOHO币'
,
true
,
false
);
$this
->
setTitle
(
'YOHO币'
);
$this
->
setNavHeader
(
'优惠券'
,
true
,
SITE_MAIN
);
$uid
=
967016
;
$currency
=
\Index\UserModel
::
getYohoCoinData
(
$uid
);
$this
->
setTitle
(
'优惠券'
);
$this
->
setNavHeader
(
'优惠券'
,
true
,
SITE_MAIN
);
// $uid = $this->getUid();
$uid
=
8826435
;
$coupons
=
array
(
'couponsUrl'
=>
array
(
\Index\UserModel
::
getCouponData
(
$uid
,
0
),
\Index\UserModel
::
getCouponData
(
$uid
,
1
),
),
'couponsPage'
=>
true
);
print_r
(
$coupons
);
$this
->
_view
->
display
(
'coupons'
,
$coupons
);
$currency
[
'pageFooter'
]
=
true
;
$this
->
_view
->
display
(
'currency'
,
$currency
);
}
/**
...
...
Please
register
or
login
to post a comment