Toggle navigation
Toggle navigation
This project
Loading...
Sign in
chenchao
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to dashboard
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
毕凯
2015-12-17 14:44:34 +0800
Commit
f30f5fd97a97aebcda8d9189ce2f378e4d3ee3e4
1 parent
c143f141
优惠券为空时获取出错的bug
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
yohobuy/m.yohobuy.com/application/modules/Cart/controllers/Index.php
View file @
f30f5fd
...
...
@@ -356,7 +356,8 @@ class IndexController extends AbstractAction
}
if
(
empty
(
$result
))
{
echo
' '
;
// 这儿需要返回空数组,勿改!!!
echo
'[]'
;
}
else
{
$this
->
echoJson
(
$result
);
}
...
...
Please
register
or
login
to post a comment