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
Plain Diff
Browse Files
Authored by
周奇琪
2016-11-28 13:51:26 +0800
Commit
88fbcac8c11f40d641702d132ca6d85e6e917e4c
2 parents
b58badbd
b624cf95
Merge branch 'gray' into 'master'
'coupon-send' 会员日领券去除签名验证 See merge request
!1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
yohobuy/m.yohobuy.com/application/controllers/Coupon.php
yohobuy/m.yohobuy.com/application/models/Coupon/Coupon.php
yohobuy/m.yohobuy.com/application/controllers/Coupon.php
View file @
88fbcac
...
...
@@ -158,6 +158,7 @@ class CouponController extends AbstractAction
$result
=
CouponModel
::
couponSend
(
$uid
,
$token
,
$app
);
$this
->
helpJsonCallbackResult
(
$callback
,
$result
[
'code'
],
$result
[
'message'
],
$result
[
'data'
]);
$this
->
helpJsonCallbackResult
(
$callback
,
$result
[
'code'
],
$result
[
'message'
],
isset
(
$result
[
'data'
])
?
$result
[
'data'
]
:
null
);
}
}
...
...
yohobuy/m.yohobuy.com/application/models/Coupon/Coupon.php
View file @
88fbcac
...
...
@@ -32,7 +32,7 @@ class CouponModel
do
{
// APP时用参数中的ID
if
(
self
::
checkApp
(
$app
))
{
if
(
!
$uid
||
empty
(
$uid
))
{
$uid
=
isset
(
$app
[
'uid'
])
?
$app
[
'uid'
]
:
0
;
}
...
...
Please
register
or
login
to post a comment