Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
Rock Zhang
2016-03-09 15:25:57 +0800
Commit
f60fcea1263641f2c696dd6a757fa0d716fa8836
1 parent
662736ee
利用限购码多次下单商品时不跳转到错误页,改成在限购商品详情页刷新
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 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 @
f60fcea
...
...
@@ -307,7 +307,12 @@ class IndexController extends AbstractAction
$this
->
go
(
$order
[
'cartUrl'
]);
}
if
(
isset
(
$order
[
'error'
]))
{
// 限购商品支付接口返回为空或错误时
$this
->
error
();
if
(
$this
->
isAjax
())
{
$this
->
echoJson
(
$order
);
return
;
}
else
{
$this
->
error
();
}
}
$data
=
array
(
...
...
Please
register
or
login
to post a comment