wfz 2 years ago
parent
commit
2af6ed2ce3
3 changed files with 6 additions and 6 deletions
  1. 4 4
      api/ai/ai.pb.go
  2. 1 1
      api/ai/ai.proto
  3. 1 1
      js/api/ai/ai_pb.ts

+ 4 - 4
api/ai/ai.pb.go

@@ -809,7 +809,7 @@ type FindAdditionalServiceTemplateListReply struct {
 	sizeCache     protoimpl.SizeCache
 	sizeCache     protoimpl.SizeCache
 	unknownFields protoimpl.UnknownFields
 	unknownFields protoimpl.UnknownFields
 
 
-	List []*AdditionalServiceTemplate `protobuf:"bytes,1,rep,name=List,proto3" json:"List"`
+	List []*AdditionalServiceTemplate `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
 }
 }
 
 
 func (x *FindAdditionalServiceTemplateListReply) Reset() {
 func (x *FindAdditionalServiceTemplateListReply) Reset() {
@@ -2176,10 +2176,10 @@ var file_ai_proto_rawDesc = []byte{
 	0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x26, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x64,
 	0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x22, 0x5f, 0x0a, 0x26, 0x46, 0x69, 0x6e, 0x64, 0x41, 0x64,
 	0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54,
 	0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54,
 	0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
 	0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x70, 0x6c, 0x79,
-	0x12, 0x35, 0x0a, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
+	0x12, 0x35, 0x0a, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21,
 	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
 	0x2e, 0x61, 0x70, 0x69, 0x2e, 0x61, 0x69, 0x2e, 0x41, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e,
 	0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
 	0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74,
-	0x65, 0x52, 0x04, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x61, 0x0a, 0x19, 0x41, 0x64, 0x64, 0x69, 0x74,
+	0x65, 0x52, 0x04, 0x6c, 0x69, 0x73, 0x74, 0x22, 0x61, 0x0a, 0x19, 0x41, 0x64, 0x64, 0x69, 0x74,
 	0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70,
 	0x69, 0x6f, 0x6e, 0x61, 0x6c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x54, 0x65, 0x6d, 0x70,
 	0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
 	0x6c, 0x61, 0x74, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03,
 	0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20,
 	0x52, 0x02, 0x69, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x02, 0x20,
@@ -2490,7 +2490,7 @@ var file_ai_proto_goTypes = []interface{}{
 }
 }
 var file_ai_proto_depIdxs = []int32{
 var file_ai_proto_depIdxs = []int32{
 	5,  // 0: api.ai.GetAIShareMessageReply.list:type_name -> api.ai.AIShareInfo
 	5,  // 0: api.ai.GetAIShareMessageReply.list:type_name -> api.ai.AIShareInfo
-	12, // 1: api.ai.FindAdditionalServiceTemplateListReply.List:type_name -> api.ai.AdditionalServiceTemplate
+	12, // 1: api.ai.FindAdditionalServiceTemplateListReply.list:type_name -> api.ai.AdditionalServiceTemplate
 	15, // 2: api.ai.AIRecordListReply.list:type_name -> api.ai.AIRecordInfo
 	15, // 2: api.ai.AIRecordListReply.list:type_name -> api.ai.AIRecordInfo
 	16, // 3: api.ai.AIRecordInfo.message:type_name -> api.ai.Message
 	16, // 3: api.ai.AIRecordInfo.message:type_name -> api.ai.Message
 	16, // 4: api.ai.SendAIChatRequest.message:type_name -> api.ai.Message
 	16, // 4: api.ai.SendAIChatRequest.message:type_name -> api.ai.Message

+ 1 - 1
api/ai/ai.proto

@@ -211,7 +211,7 @@ message GetAdditionalServiceReply{
 }
 }
 
 
 message FindAdditionalServiceTemplateListReply{
 message FindAdditionalServiceTemplateListReply{
-  repeated AdditionalServiceTemplate List = 1;
+  repeated AdditionalServiceTemplate list = 1;
 }
 }
 
 
 message AdditionalServiceTemplate{
 message AdditionalServiceTemplate{

+ 1 - 1
js/api/ai/ai_pb.ts

@@ -97,7 +97,7 @@ export interface GetAdditionalServiceReply{
     templateId?:number;
     templateId?:number;
 }
 }
 export interface FindAdditionalServiceTemplateListReply{
 export interface FindAdditionalServiceTemplateListReply{
-    List?:Array<AdditionalServiceTemplate>;
+    list?:Array<AdditionalServiceTemplate>;
 }
 }
 export interface AdditionalServiceTemplate{
 export interface AdditionalServiceTemplate{
     /**  id */
     /**  id */