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
fe2fe2e8df14a3bbd78c0c1634529e6588315d82
1 parent
384b30c7
添加接口数据是否返回检测
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/controllers/Coupon.php
yohobuy/m.yohobuy.com/application/controllers/Coupon.php
View file @
fe2fe2e
...
...
@@ -36,8 +36,10 @@ class CouponController extends AbstractAction
$uid
=
$this
->
getUid
();
}
$resource
=
CouponData
::
getCouponRousource
(
$receiveData
[
'code'
],
$uid
);
if
(
isset
(
$resource
[
'code'
])
&&
$resource
[
'code'
]
==
200
)
{
if
(
isset
(
$resource
[
'code'
])
&&
$resource
[
'code'
]
==
=
200
)
{
$result
=
CouponFloorProcess
::
getContent
(
$resource
[
'data'
]);
}
else
{
echo
'没有返回数据!'
;
exit
;
}
// 分享
$shareData
=
CouponFloorProcess
::
getShare
(
$receiveData
[
'code'
],
'领券中心'
);
...
...
Please
register
or
login
to post a comment