This commit is contained in:
邹宗楠
2024-10-18 14:58:51 +08:00
parent 6455cc02aa
commit 0ec80eb412
4 changed files with 16 additions and 21 deletions

View File

@@ -529,8 +529,6 @@ func (c *OrderController) StaleIndexInfo() {
dataList = append(dataList, v.Store.ID)
mapDataList[v.Store.ID] = model.YES
}
} else {
return retVal, "", err
}
if params.StoreID != 0 && mapDataList[params.StoreID] != model.YES {
return retVal, "", fmt.Errorf("此门店%d,不归属于该用户%s", params.StoreID, ctx.GetUserName())