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
郭成尧
8 years ago
Commit
032fd6f347051cf2eb7c2bde350923641b9dd2a4
2 parents
b5e4ef1d
88fbcac8
Merge branch 'master' into hotfix/addressSelect
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 @
032fd6f
...
...
@@ -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 @
032fd6f
...
...
@@ -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