|
@@ -372,7 +372,6 @@ func (n *network) AllProject(in *types.AllprojectReq) (reply *types.Reply) {
|
|
key := fmt.Sprintf(NetworkManageAllProjectKey, in.PositionId)
|
|
key := fmt.Sprintf(NetworkManageAllProjectKey, in.PositionId)
|
|
if rbt, rerr := redis.GetNewBytes("newother", key); rerr == nil && rbt != nil {
|
|
if rbt, rerr := redis.GetNewBytes("newother", key); rerr == nil && rbt != nil {
|
|
json.Unmarshal(*rbt, &aio)
|
|
json.Unmarshal(*rbt, &aio)
|
|
- return
|
|
|
|
} else {
|
|
} else {
|
|
aio = n.AllIntroduceOwner(sqlAppend1, "", args, true, businessType)
|
|
aio = n.AllIntroduceOwner(sqlAppend1, "", args, true, businessType)
|
|
redis.Put("newother", key, aio, C.CacheTimeOut)
|
|
redis.Put("newother", key, aio, C.CacheTimeOut)
|