refactor: add unified all service gateway
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* @日期: 2021-11-26 15:25:03
|
||||
* @描述: Sender微服务主入口程序,提供邮件和短信发送功能
|
||||
*/
|
||||
package service
|
||||
package main
|
||||
|
||||
import (
|
||||
"bsm/full/module/base/sender/internal/config"
|
||||
@@ -26,7 +26,7 @@ func Run() {
|
||||
impl.NewImpl()
|
||||
|
||||
// 初始化gRPC和HTTP服务器
|
||||
s := server.New(config.Spec.Addr)
|
||||
s := server.New(nil)
|
||||
|
||||
// 创建微服务实例
|
||||
srv := service.New(
|
||||
|
||||
Reference in New Issue
Block a user