Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHO-ACTIVITY-PHP
·
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
hf
2015-12-18 19:28:48 +0800
Commit
396ebf1ed348ab2a5b22440d882bae10ee8912ed
1 parent
98e05c88
code review by hf: fixes bug to coupon newuser second times
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Coupon.php
yohobuy/huodong.m.yohobuy.com/application/modules/Cuxiao/controllers/Coupon.php
View file @
396ebf1
...
...
@@ -632,9 +632,9 @@ class CouponController extends HuodongAction
}
/* 判断用户是否登录 */
$uid
=
$this
->
get
Uid
(
);
$uid
=
$this
->
get
Session
(
self
::
SESSION_UID
);
if
(
!
$uid
)
{
$uid
=
$this
->
get
Session
(
self
::
SESSION_UID
);
$uid
=
$this
->
get
Uid
(
);
if
(
!
$uid
)
{
$result
[
'code'
]
=
400
;
$result
[
'message'
]
=
'请先登录'
;
...
...
Please
register
or
login
to post a comment