Toggle navigation
Toggle navigation
This project
Loading...
Sign in
wangshusheng
/
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
Rock Zhang
2016-03-09 15:59:49 +0800
Commit
9153961ca06ff1d0e0b3b0ec914c5fee43a35f00
1 parent
d85bf897
限购商品购买前验证接口添加错误信息字段
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
yohobuy/m.yohobuy.com/application/models/Index/Cart.php
View file @
9153961
...
...
@@ -345,6 +345,7 @@ class CartModel
if
(
!
$pay
||
$pay
[
'code'
]
!=
200
||
empty
(
$pay
[
'data'
][
'goods_list'
]))
{
if
(
$isLimitGoods
)
{
$result
[
'error'
]
=
true
;
$result
[
'message'
]
=
$pay
[
'message'
];
}
else
{
$result
[
'cartUrl'
]
=
Helpers
::
url
(
'/cart/index/index'
);
}
...
...
Please
register
or
login
to post a comment