爆品预警测试
This commit is contained in:
@@ -3362,6 +3362,9 @@ func SendSeckillSkusCountMsg(ctx *jxcontext.Context, vendorIDs []int, isAsync, i
|
|||||||
store := batchItemList[0].(*model.Store)
|
store := batchItemList[0].(*model.Store)
|
||||||
for _, vendorID := range vendorIDs {
|
for _, vendorID := range vendorIDs {
|
||||||
storeDetial, _ := dao.GetStoreDetail(db, store.ID, vendorID)
|
storeDetial, _ := dao.GetStoreDetail(db, store.ID, vendorID)
|
||||||
|
if storeDetial == nil {
|
||||||
|
continue
|
||||||
|
}
|
||||||
var type1, type2 int
|
var type1, type2 int
|
||||||
switch vendorID {
|
switch vendorID {
|
||||||
case model.VendorIDEBAI:
|
case model.VendorIDEBAI:
|
||||||
|
|||||||
Reference in New Issue
Block a user