fix version 1
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
)
|
||||
|
||||
// 站点详情
|
||||
// 说明:站点逻辑尚未实现,显式返回未实现错误,避免返回 nil 的成功响应
|
||||
func Get(ctx context.Context, in *pb.IdentRequest) (reply *pb.SiteItem, err error) {
|
||||
// parse authorization meta.
|
||||
_, err = service.ParseMetaCtx(ctx, nil)
|
||||
@@ -21,7 +22,5 @@ func Get(ctx context.Context, in *pb.IdentRequest) (reply *pb.SiteItem, err erro
|
||||
return nil, errcode.ErrInvalidArgument
|
||||
}
|
||||
|
||||
// TODO: add your logic code & delete this line.
|
||||
|
||||
return
|
||||
return nil, errcode.ErrUnimplemented
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user