浏览代码

两张图

wfz 2 年之前
父节点
当前提交
dc33ad1af6
共有 3 个文件被更改,包括 6 次插入6 次删除
  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

@@ -146,7 +146,7 @@ type GetShareQrcodeReply struct {
 	sizeCache     protoimpl.SizeCache
 	unknownFields protoimpl.UnknownFields
 
-	QrcodeUrl string `protobuf:"bytes,1,opt,name=qrcodeUrl,proto3" json:"qrcodeUrl"`
+	QrcodeUrl []string `protobuf:"bytes,1,rep,name=qrcodeUrl,proto3" json:"qrcodeUrl"`
 }
 
 func (x *GetShareQrcodeReply) Reset() {
@@ -181,11 +181,11 @@ func (*GetShareQrcodeReply) Descriptor() ([]byte, []int) {
 	return file_ai_proto_rawDescGZIP(), []int{2}
 }
 
-func (x *GetShareQrcodeReply) GetQrcodeUrl() string {
+func (x *GetShareQrcodeReply) GetQrcodeUrl() []string {
 	if x != nil {
 		return x.QrcodeUrl
 	}
-	return ""
+	return make([]string, 0)
 }
 
 type GetAIShareMessageRequest struct {
@@ -2096,7 +2096,7 @@ var file_ai_proto_rawDesc = []byte{
 	0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x72, 0x6f, 0x62, 0x6f, 0x74,
 	0x49, 0x64, 0x22, 0x33, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x53, 0x68, 0x61, 0x72, 0x65, 0x51, 0x72,
 	0x63, 0x6f, 0x64, 0x65, 0x52, 0x65, 0x70, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x71, 0x72, 0x63,
-	0x6f, 0x64, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x71, 0x72,
+	0x6f, 0x64, 0x65, 0x55, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x71, 0x72,
 	0x63, 0x6f, 0x64, 0x65, 0x55, 0x72, 0x6c, 0x22, 0x4c, 0x0a, 0x18, 0x47, 0x65, 0x74, 0x41, 0x49,
 	0x53, 0x68, 0x61, 0x72, 0x65, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x52, 0x65, 0x71, 0x75,
 	0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20,

+ 1 - 1
api/ai/ai.proto

@@ -144,7 +144,7 @@ message SetVideoLinkRequest{
 }
 
 message GetShareQrcodeReply{
-  string qrcodeUrl = 1;
+  repeated string qrcodeUrl = 1;
 }
 
 message GetAIShareMessageRequest{

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

@@ -10,7 +10,7 @@ export interface SetVideoLinkRequest{
     robotId?:number;
 }
 export interface GetShareQrcodeReply{
-    qrcodeUrl?:string;
+    qrcodeUrl?:Array<string>;
 }
 export interface GetAIShareMessageRequest{
     /**  用户ID */