Răsfoiți Sursa

feat:xiugai

wangchuanjin 9 luni în urmă
părinte
comite
f6da2e6c2d
1 a modificat fișierele cu 0 adăugiri și 1 ștergeri
  1. 0 1
      api/internal/service/network.go

+ 0 - 1
api/internal/service/network.go

@@ -372,7 +372,6 @@ func (n *network) AllProject(in *types.AllprojectReq) (reply *types.Reply) {
 		key := fmt.Sprintf(NetworkManageAllProjectKey, in.PositionId)
 		if rbt, rerr := redis.GetNewBytes("newother", key); rerr == nil && rbt != nil {
 			json.Unmarshal(*rbt, &aio)
-			return
 		} else {
 			aio = n.AllIntroduceOwner(sqlAppend1, "", args, true, businessType)
 			redis.Put("newother", key, aio, C.CacheTimeOut)