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
郭成尧
9 years ago
Commit
1c15dcdee337ad2495a47dc9fc58e0412de60e50
1 parent
73243970
数组格式兼容老版本PHP
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
yohobuy/m.yohobuy.com/application/controllers/Coupon.php
yohobuy/m.yohobuy.com/application/controllers/Coupon.php
View file @
1c15dcd
...
...
@@ -73,16 +73,16 @@ class CouponController extends AbstractAction
$result
=
CouponData
::
receiveCoupon
(
$this
->
getUid
(),
$receiveData
[
'couponID'
]);
switch
(
$result
[
'code'
])
{
case
200
:
$returnData
=
[
$returnData
=
array
(
'msg'
=>
'领券成功!'
,
'status'
=>
true
,
]
;
)
;
break
;
default
:
$returnData
=
[
$returnData
=
array
(
'msg'
=>
'领券失败!'
,
'status'
=>
false
,
]
;
)
;
break
;
}
}
...
...
Please
register
or
login
to post a comment