推荐商品自动关注,修改,以及暂时只整4个小城市
This commit is contained in:
@@ -1993,7 +1993,7 @@ func SendAlarmVendorSnapshot(ctx *jxcontext.Context, parentTask tasksch.ITask, p
|
||||
}
|
||||
|
||||
if len(userList) > 0 {
|
||||
allStores, err := dao.GetStoreList(db, nil, nil, "")
|
||||
allStores, err := dao.GetStoreList(db, nil, nil, nil, nil, "")
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -2167,7 +2167,7 @@ func SaveAndSendAlarmVendorSnapshot(ctx *jxcontext.Context, vendorIDs, storeIDs
|
||||
|
||||
func SyncStoresCourierInfo(ctx *jxcontext.Context, storeIDs []int, isAsync, isContinueWhenError bool) (hint string, err error) {
|
||||
db := dao.GetDB()
|
||||
storeList2, err := dao.GetStoreList(db, storeIDs, nil, "")
|
||||
storeList2, err := dao.GetStoreList(db, storeIDs, nil, nil, nil, "")
|
||||
var storeList []*model.Store
|
||||
for _, v := range storeList2 {
|
||||
if v.Status != model.StoreStatusDisabled {
|
||||
|
||||
Reference in New Issue
Block a user