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
Rock Zhang
2016-03-09 13:38:27 +0800
Commit
d5da89965b76dafcc88a4335033bb19fa5c04ba4
1 parent
36b8e5ef
对于限购商品,如果用户已经用限购码购买过,不能再获取限购码,提示已获取限购吗
Code Review By Rock Zhang
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
yohobuy/m.yohobuy.com/application/models/Product/Detail.php
View file @
d5da899
...
...
@@ -867,6 +867,9 @@ class DetailModel
$data
[
'gotCode'
]
=
true
;
$data
[
'cartInfo'
][
'limitNotForSale'
]
=
true
;
break
;
case
7
:
// 开售后,用户已经用获得的限购码购买过商品
$data
[
'gotCode'
]
=
true
;
$data
[
'cartInfo'
][
'noLimitCode'
]
=
true
;
default
:
break
;
}
...
...
Please
register
or
login
to post a comment