爆品预警正式,每天早上8点半跑
This commit is contained in:
@@ -3357,7 +3357,6 @@ func SendSeckillSkusCountMsg(ctx *jxcontext.Context, vendorIDs []int, isAsync, i
|
||||
)
|
||||
db := dao.GetDB()
|
||||
storeList, err := dao.GetStoresMapList(db, vendorIDs, nil, model.StoreStatusOpened, model.StoreIsSyncAll, "")
|
||||
// storeList, err := dao.GetStoreList(db, nil, nil, []int{model.StoreStatusOpened, model.StoreStatusClosed, model.StoreStatusHaveRest}, nil, "")
|
||||
pTask := tasksch.NewParallelTask("SendSeckillSkusCountMsg", tasksch.NewParallelConfig().SetIsContinueWhenError(isContinueWhenError), ctx,
|
||||
func(task *tasksch.ParallelTask, batchItemList []interface{}, params ...interface{}) (retVal interface{}, err error) {
|
||||
store := batchItemList[0].(*model.StoreMap)
|
||||
@@ -3423,7 +3422,6 @@ func SendSeckillSkusCountMsg(ctx *jxcontext.Context, vendorIDs []int, isAsync, i
|
||||
}
|
||||
if type1 < type1Count || type2 < type2Count {
|
||||
storeDetail, _ := dao.GetStoreDetail(db, store.StoreID, store.VendorID)
|
||||
fmt.Println(type1, type2, storeDetail)
|
||||
var (
|
||||
operatorName string
|
||||
operatorPhone string
|
||||
|
||||
Reference in New Issue
Block a user