对于限购商品,如果用户已经用限购码购买过,不能再获取限购码,提示已获取限购吗
Code Review By Rock Zhang
Showing
1 changed file
with
3 additions
and
0 deletions
@@ -867,6 +867,9 @@ class DetailModel | @@ -867,6 +867,9 @@ class DetailModel | ||
867 | $data['gotCode'] = true; | 867 | $data['gotCode'] = true; |
868 | $data['cartInfo']['limitNotForSale'] = true; | 868 | $data['cartInfo']['limitNotForSale'] = true; |
869 | break; | 869 | break; |
870 | + case 7: // 开售后,用户已经用获得的限购码购买过商品 | ||
871 | + $data['gotCode'] = true; | ||
872 | + $data['cartInfo']['noLimitCode'] = true; | ||
870 | default: | 873 | default: |
871 | break; | 874 | break; |
872 | } | 875 | } |
-
Please register or login to post a comment