wangchuanjin hai 9 meses
pai
achega
2eb3833fd7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      api/internal/service/network.go

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

@@ -332,7 +332,7 @@ func (n *network) AllProject(in *types.AllprojectReq) (reply *types.Reply) {
 	reply = &types.Reply{}
 	key := fmt.Sprintf(NetworkManageAllProjectKey, in.PositionId)
 	rbt, rerr := redis.GetNewBytes("newother", key)
-	if false && rerr == nil && rbt != nil {
+	if rerr == nil && rbt != nil {
 		json.Unmarshal(*rbt, &reply)
 		return
 	}