This commit is contained in:
suyl
2021-08-09 10:49:37 +08:00
parent e294beba0d
commit b74879f91a

View File

@@ -1877,7 +1877,7 @@ func UpdateStoreCourierMap(ctx *jxcontext.Context, db *dao.DaoDB, storeID, vendo
if storeCourier.AuditStatus != model.StoreAuditStatusOnline {
if status := utils.Interface2Int64WithDefault(valid["status"], 0); status == model.StoreStatusOpened {
// 没有通过审核的禁止改状态为正常
return 0, fmt.Errorf("此快递门店还没有通过审核,不启用")
//return 0, fmt.Errorf("此快递门店还没有通过审核,不启用")
}
}
num, err = dao.UpdateEntityLogically(db, storeCourier, valid, userName, nil)