wangchuanjin hace 9 meses
padre
commit
2eb3833fd7
Se han modificado 1 ficheros con 1 adiciones y 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
 	}