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