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
cailing
9 years ago
Commit
c35ba1bb7dfe32bb33e98b0bc34a3e8ec7678632
1 parent
6a98cac9
本来生活判断登录
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
yohobuy/m.yohobuy.com/application/controllers/life.php
yohobuy/m.yohobuy.com/application/controllers/life.php
View file @
c35ba1b
...
...
@@ -7,7 +7,7 @@ use LibModels\Wap\Coupon\CouponData;
class
LifeController
extends
AbstractAction
{
const
COUPON_ID
=
1302
4
;
const
COUPON_ID
=
1302
6
;
public
function
indexAction
()
{
...
...
@@ -41,15 +41,19 @@ class LifeController extends AbstractAction
public
function
loginAction
()
{
$uid
=
$this
->
getUid
();
if
(
!
$uid
)
{
$this
->
go
(
Helpers
::
url
(
'/signin.html'
,
array
(
'refer'
=>
Helpers
::
url
(
'/life/index'
))));
}
$this
->
_view
->
display
(
'login'
,
array
(
$this
->
_view
->
display
(
'login'
,
array
(
'lifePage'
=>
true
));
}
public
function
couponAction
()
{
//获取手机号,传优惠码
$this
->
_view
->
display
(
'coupon'
,
array
(
$this
->
_view
->
display
(
'coupon'
,
array
(
'couponPage'
=>
true
));
}
...
...
Please
register
or
login
to post a comment