瀏覽代碼

feat:xiugai

wangchuanjin 9 月之前
父節點
當前提交
d995dcdbe4
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      api/internal/service/network.go

+ 2 - 4
api/internal/service/network.go

@@ -5,7 +5,6 @@ import (
 	"database/sql"
 	"encoding/json"
 	"fmt"
-	"log"
 	"math"
 	"sort"
 	"strings"
@@ -760,11 +759,10 @@ func (n *network) List(in *types.NetWorkListReq) *types.Reply {
 	aio := &introduceOwnerProject{}
 	aioByte, aioErr := redis.GetNewBytes("newother", redisKey)
 	if aioErr == nil && aioByte != nil {
-		log.Println("-----3333---")
-
+		logx.Info("-----3333---")
 		json.Unmarshal(*aioByte, &aio)
 	} else {
-		log.Println("--------")
+		logx.Info("--------")
 		aio = n.AllIntroduceOwner(sqlAppend1, sqlAppend2, args, isTjProject, businessType)
 		redis.Put("newother", redisKey, aio, C.CacheTimeOut)
 	}