调整lua proto编号

This commit is contained in:
algotao
2025-11-16 16:10:43 +08:00
parent 430ce87959
commit 25715910cb
2 changed files with 6 additions and 6 deletions

View File

@@ -2350,8 +2350,8 @@ func (x *ScriptRun) GetOs() OS {
// ScriptCreate 创建脚本 // ScriptCreate 创建脚本
type ScriptCreate struct { type ScriptCreate struct {
state protoimpl.MessageState `protogen:"open.v1"` state protoimpl.MessageState `protogen:"open.v1"`
LuaName string `protobuf:"bytes,2,opt,name=lua_name,json=luaName,proto3" json:"lua_name,omitempty"` // 要上传的脚本名称 LuaName string `protobuf:"bytes,1,opt,name=lua_name,json=luaName,proto3" json:"lua_name,omitempty"` // 要上传的脚本名称
LuaScript string `protobuf:"bytes,1,opt,name=lua_script,json=luaScript,proto3" json:"lua_script,omitempty"` // 要调试的lua脚本 LuaScript string `protobuf:"bytes,2,opt,name=lua_script,json=luaScript,proto3" json:"lua_script,omitempty"` // 要调试的lua脚本
unknownFields protoimpl.UnknownFields unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache sizeCache protoimpl.SizeCache
} }
@@ -4893,9 +4893,9 @@ const file_cmd_proto_rawDesc = "" +
"\rserver_openid\x18\x04 \x01(\tR\fserverOpenid\x12\x1b\n" + "\rserver_openid\x18\x04 \x01(\tR\fserverOpenid\x12\x1b\n" +
"\x02os\x18\x05 \x01(\x0e2\v.saasapi.OSR\x02os\"H\n" + "\x02os\x18\x05 \x01(\x0e2\v.saasapi.OSR\x02os\"H\n" +
"\fScriptCreate\x12\x19\n" + "\fScriptCreate\x12\x19\n" +
"\blua_name\x18\x02 \x01(\tR\aluaName\x12\x1d\n" + "\blua_name\x18\x01 \x01(\tR\aluaName\x12\x1d\n" +
"\n" + "\n" +
"lua_script\x18\x01 \x01(\tR\tluaScript\"\f\n" + "lua_script\x18\x02 \x01(\tR\tluaScript\"\f\n" +
"\n" + "\n" +
"ScriptList\")\n" + "ScriptList\")\n" +
"\fScriptDelete\x12\x19\n" + "\fScriptDelete\x12\x19\n" +

View File

@@ -212,8 +212,8 @@ message ScriptRun {
// ScriptCreate 创建脚本 // ScriptCreate 创建脚本
message ScriptCreate { message ScriptCreate {
string lua_name = 2; // 要上传的脚本名称 string lua_name = 1; // 要上传的脚本名称
string lua_script = 1; // 要调试的lua脚本 string lua_script = 2; // 要调试的lua脚本
} }
// ScriptList 列出脚本 // ScriptList 列出脚本