refactor: add unified all service gateway
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
* @Author: david.yan(david.yan@qq.com)
|
||||
* @Date: 2021-11-26 15:25:03
|
||||
*/
|
||||
package service
|
||||
package main
|
||||
|
||||
import (
|
||||
"bsm/full/module/ec/order/internal/config"
|
||||
@@ -20,7 +20,7 @@ func Run() {
|
||||
impl.NewImpl()
|
||||
|
||||
// 初始化服务
|
||||
s := server.New(config.Spec.Addr)
|
||||
s := server.New(nil)
|
||||
srv := service.New(
|
||||
s.Grpc,
|
||||
&service.Options{
|
||||
|
||||
Reference in New Issue
Block a user