style: 去除Impl接口声明层聚焦服务函数
This commit is contained in:
@@ -20,7 +20,7 @@ import (
|
||||
|
||||
// 实例化控制层 NeActionController 结构体
|
||||
var NewNeAction = &NeActionController{
|
||||
neInfoService: neService.NewNeInfoImpl,
|
||||
neInfoService: neService.NewNeInfo,
|
||||
}
|
||||
|
||||
// 网元处理请求
|
||||
@@ -28,7 +28,7 @@ var NewNeAction = &NeActionController{
|
||||
// PATH /action
|
||||
type NeActionController struct {
|
||||
// 网元信息服务
|
||||
neInfoService neService.INeInfo
|
||||
neInfoService *neService.NeInfo
|
||||
}
|
||||
|
||||
// 发送文件从本地到网元
|
||||
|
||||
Reference in New Issue
Block a user