mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-06 20:15:50 +08:00
部分中文转换为多语言代号
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
go run ../cmd/langs/main.go generate
|
||||
ROOT=$(dirname "$0")
|
||||
/usr/local/bin/go run "${ROOT}"/../cmd/langs/main.go generate
|
||||
@@ -14947,7 +14947,7 @@
|
||||
},
|
||||
{
|
||||
"name": "CreateLogRequest",
|
||||
"code": "message CreateLogRequest {\n\tstring level = 1;\n\tstring description = 2;\n\tstring action = 3;\n\tstring ip = 4;\n}",
|
||||
"code": "message CreateLogRequest {\n\tstring level = 1; // 级别:info, warn, error\n\tstring description = 2; // 描述\n\tstring action = 3; // 可选项,发生操作所在的页面URL\n\tstring ip = 4; // 可选项,操作用户IP\n\tstring langMessageCode = 5; // 多语言消息\n\tbytes langMessagesArgsJSON = 6; // 多语言消息中的参数项,格式:[arg1, arg2, ...]\n}",
|
||||
"doc": "创建日志"
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user