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
郭成尧
8 years ago
Commit
b624cf95d242fab7e14cfb58b152b24f139fb265
1 parent
b58badbd
'coupon-send'
Hide 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 @
b624cf9
...
...
@@ -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 @
b624cf9
...
...
@@ -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