@@ -273,7 +273,7 @@ func (self *OrderController) MultCentCreate() {
if product == nil {
self.ReturnError(403, apps.NoExist, "", nil)
}
- if product.Ptype != product_model.SHOP_SALE {
+ if product.Ptype != product_model.CENT_SALE {
self.ReturnError(403, apps.NoShopSale, "", nil)
@@ -21,6 +21,7 @@ const (
TYPE_USER_SALE = "user_sale" //代销
TYPE_DIRECT_SALE = "direct_sale" //直营
SHOP_SALE = "shop_sale" //店铺专区
+ CENT_SALE = "cent_sale" //积分专区
SECKILL_NONE_STATE = "none"
SECKILL_NONE_STATE_CN = "暂无秒杀"