作者 yangfu

remove cache

@@ -5,7 +5,6 @@ import ( @@ -5,7 +5,6 @@ import (
5 "github.com/tiptok/gocomm/common" 5 "github.com/tiptok/gocomm/common"
6 "github.com/tiptok/gocomm/pkg/cache" 6 "github.com/tiptok/gocomm/pkg/cache"
7 . "github.com/tiptok/gocomm/pkg/orm/pgx" 7 . "github.com/tiptok/gocomm/pkg/orm/pgx"
8 - "gitlab.fjmaimaimai.com/mmm-go/godevp/pkg/constant"  
9 "gitlab.fjmaimaimai.com/mmm-go/godevp/pkg/domain" 8 "gitlab.fjmaimaimai.com/mmm-go/godevp/pkg/domain"
10 "gitlab.fjmaimaimai.com/mmm-go/godevp/pkg/infrastructure/pg/models" 9 "gitlab.fjmaimaimai.com/mmm-go/godevp/pkg/infrastructure/pg/models"
11 "gitlab.fjmaimaimai.com/mmm-go/godevp/pkg/infrastructure/pg/transaction" 10 "gitlab.fjmaimaimai.com/mmm-go/godevp/pkg/infrastructure/pg/transaction"
@@ -13,9 +12,9 @@ import ( @@ -13,9 +12,9 @@ import (
13 12
14 var ( 13 var (
15 cacheClientVersionIdKey = func(id int64) string { 14 cacheClientVersionIdKey = func(id int64) string {
16 - return fmt.Sprintf("%v:cache:ClientVersion:id:%v", constant.POSTGRESQL_DB_NAME, id) 15 + //return fmt.Sprintf("%v:cache:ClientVersion:id:%v", constant.POSTGRESQL_DB_NAME, id)
17 // 不需要执行缓存时,key设置为空 16 // 不需要执行缓存时,key设置为空
18 - // return "" 17 + return ""
19 } 18 }
20 ) 19 )
21 20