refactor: add unified all service gateway

This commit is contained in:
2026-08-10 10:03:46 +08:00
parent 5ea45a76fe
commit f994b2de9c
143 changed files with 2853 additions and 2129 deletions

View File

@@ -3,7 +3,7 @@
* @Date: 2021-11-26 15:25:03
* @Description: 广告服务主程序入口
*/
package service
package main
import (
"bsm/full/module/base/ads/internal/config"
@@ -24,7 +24,7 @@ func Run() {
impl.NewImpl()
// 创建gRPC服务器实例
s := server.New(config.Spec.Addr)
s := server.New(nil)
// 创建微服务实例
srv := service.New(
s.Grpc,