浏览代码

feat:xiugai

wangchuanjin 9 月之前
父节点
当前提交
82f50b55d8
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      api/internal/service/network.go

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

@@ -5,6 +5,7 @@ import (
 	"database/sql"
 	"encoding/json"
 	"fmt"
+	"log"
 	"math"
 	"sort"
 	"strings"
@@ -759,8 +760,11 @@ 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---")
+
 		json.Unmarshal(*aioByte, &aio)
 	} else {
+		log.Println("--------")
 		aio = n.AllIntroduceOwner(sqlAppend1, sqlAppend2, args, isTjProject, businessType)
 		redis.Put("newother", redisKey, aio, C.CacheTimeOut)
 	}