add apis
CI / changes (push) Successful in 1m34s
CI / ad (push) Successful in 27s
CI / admin (push) Successful in 17s
CI / aiserver (push) Successful in 26s
CI / analysis (push) Successful in 22s
CI / bff (push) Successful in 21s
CI / chore (push) Successful in 20s
CI / equipment (push) Successful in 19s
CI / express (push) Successful in 19s
CI / factory (push) Successful in 19s
CI / message (push) Successful in 18s
CI / order (push) Successful in 19s
CI / payment (push) Successful in 17s
CI / percutaneous (push) Successful in 17s
CI / product (push) Successful in 19s
CI / record (push) Successful in 19s
CI / sale (push) Successful in 19s
CI / store (push) Successful in 20s
CI / support (push) Successful in 19s
CI / task (push) Successful in 21s
CI / user (push) Successful in 22s
CI / water (push) Successful in 25s
CI / wecom (push) Successful in 21s
CI / ws (push) Successful in 9s

This commit is contained in:
2026-10-30 18:02:20 +08:00
parent 54b1e958df
commit cc23c30c9e
62 changed files with 3257 additions and 86 deletions
+32 -14
View File
@@ -225,8 +225,9 @@ func (x *LogItemsRequest) GetHostCode() string {
type AddLogRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
HostCode string `protobuf:"bytes,1,opt,name=host_code,json=hostCode,proto3" json:"host_code,omitempty"`
Data string `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
Time string `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
Time string `protobuf:"bytes,2,opt,name=time,proto3" json:"time,omitempty"`
Salt int64 `protobuf:"varint,3,opt,name=salt,proto3" json:"salt,omitempty"`
Water int64 `protobuf:"varint,4,opt,name=water,proto3" json:"water,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -268,13 +269,6 @@ func (x *AddLogRequest) GetHostCode() string {
return ""
}
func (x *AddLogRequest) GetData() string {
if x != nil {
return x.Data
}
return ""
}
func (x *AddLogRequest) GetTime() string {
if x != nil {
return x.Time
@@ -282,6 +276,20 @@ func (x *AddLogRequest) GetTime() string {
return ""
}
func (x *AddLogRequest) GetSalt() int64 {
if x != nil {
return x.Salt
}
return 0
}
func (x *AddLogRequest) GetWater() int64 {
if x != nil {
return x.Water
}
return 0
}
type Response struct {
state protoimpl.MessageState `protogen:"open.v1"`
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
@@ -386,6 +394,7 @@ type SettingRequest struct {
RefreshTime string `protobuf:"bytes,4,opt,name=refresh_time,json=refreshTime,proto3" json:"refresh_time,omitempty"`
UseNumber int32 `protobuf:"varint,5,opt,name=use_number,json=useNumber,proto3" json:"use_number,omitempty"`
Soften int32 `protobuf:"varint,6,opt,name=soften,proto3" json:"soften,omitempty"`
NoDisturbing string `protobuf:"bytes,7,opt,name=no_disturbing,json=noDisturbing,proto3" json:"no_disturbing,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
@@ -462,6 +471,13 @@ func (x *SettingRequest) GetSoften() int32 {
return 0
}
func (x *SettingRequest) GetNoDisturbing() string {
if x != nil {
return x.NoDisturbing
}
return ""
}
var File_water_water_proto protoreflect.FileDescriptor
const file_water_water_proto_rawDesc = "" +
@@ -477,16 +493,17 @@ const file_water_water_proto_rawDesc = "" +
"\x04page\x18\x01 \x01(\x05R\x04page\x12\x12\n" +
"\x04size\x18\x02 \x01(\x05R\x04size\x12\x12\n" +
"\x04time\x18\x03 \x03(\tR\x04time\x12\x1b\n" +
"\thost_code\x18\x04 \x01(\tR\bhostCode\"T\n" +
"\thost_code\x18\x04 \x01(\tR\bhostCode\"j\n" +
"\rAddLogRequest\x12\x1b\n" +
"\thost_code\x18\x01 \x01(\tR\bhostCode\x12\x12\n" +
"\x04data\x18\x02 \x01(\tR\x04data\x12\x12\n" +
"\x04time\x18\x03 \x01(\tR\x04time\"D\n" +
"\x04time\x18\x02 \x01(\tR\x04time\x12\x12\n" +
"\x04salt\x18\x03 \x01(\x03R\x04salt\x12\x14\n" +
"\x05water\x18\x04 \x01(\x03R\x05water\"D\n" +
"\bResponse\x12\x12\n" +
"\x04code\x18\x01 \x01(\x05R\x04code\x12\x10\n" +
"\x03msg\x18\x02 \x01(\tR\x03msg\x12\x12\n" +
"\x04data\x18\x03 \x01(\tR\x04data\"\x0e\n" +
"\fEmptyRequest\"\xc6\x01\n" +
"\fEmptyRequest\"\xeb\x01\n" +
"\x0eSettingRequest\x12\x1b\n" +
"\thost_code\x18\x01 \x01(\tR\bhostCode\x12!\n" +
"\fsalt_percent\x18\x02 \x01(\x05R\vsaltPercent\x12\x1a\n" +
@@ -494,7 +511,8 @@ const file_water_water_proto_rawDesc = "" +
"\frefresh_time\x18\x04 \x01(\tR\vrefreshTime\x12\x1d\n" +
"\n" +
"use_number\x18\x05 \x01(\x05R\tuseNumber\x12\x16\n" +
"\x06soften\x18\x06 \x01(\x05R\x06soften2\x97\x04\n" +
"\x06soften\x18\x06 \x01(\x05R\x06soften\x12#\n" +
"\rno_disturbing\x18\a \x01(\tR\fnoDisturbing2\x97\x04\n" +
"\x05Water\x12Z\n" +
"\tWifiCheck\x12\x17.water.WifiCheckRequest\x1a\x0f.water.Response\"#\x82\xd3\xe4\x93\x02\x1d:\x01*\x12\x18/api/v3/water/wifi/check\x12T\n" +
"\aWifiSet\x12\x15.water.WifiSetRequest\x1a\x0f.water.Response\"!\x82\xd3\xe4\x93\x02\x1b:\x01*\"\x16/api/v3/water/wifi/set\x12Q\n" +