|
@@ -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)
|
|
|
}
|