refactor: 将分布式锁从 redis 迁移至 utils 包
This commit is contained in:
2
main.go
2
main.go
@@ -27,7 +27,7 @@ func main() {
|
||||
ctx := context.Background()
|
||||
defer jaeger.ShutDown(ctx)
|
||||
// 注册路由
|
||||
// http.Httpserver.BindMiddleware("/*", middleware.ModuleTenantCheck)
|
||||
//http.Httpserver.BindMiddleware("/*", http.SkipMiddleware(middleware.ModuleTenantCheck, "/*"))
|
||||
http.RouteRegister([]interface{}{
|
||||
assetController.Asset,
|
||||
assetController.AssetSku,
|
||||
|
||||
Reference in New Issue
Block a user