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