mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2025-11-03 12:20:27 +08:00
优化代码
This commit is contained in:
@@ -38,12 +38,12 @@ func (this *LogDAO) CreateAdminLog(ctx context.Context, level string, action str
|
||||
}
|
||||
|
||||
_, err = this.RPC().LogRPC().CreateLog(ctx, &pb.CreateLogRequest{
|
||||
Level: level,
|
||||
Description: description,
|
||||
Action: action,
|
||||
Ip: ip,
|
||||
LangMessageCode: langMessageCode.String(),
|
||||
LangMessagesArgsJSON: langMessageArgsJSON,
|
||||
Level: level,
|
||||
Description: description,
|
||||
Action: action,
|
||||
Ip: ip,
|
||||
LangMessageCode: langMessageCode.String(),
|
||||
LangMessageArgsJSON: langMessageArgsJSON,
|
||||
})
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user