wangshan 8 miesięcy temu
rodzic
commit
ab9bb59549

+ 1 - 1
jyBXCore/rpc/bxcore.proto

@@ -696,7 +696,7 @@ message PurchaseData {
   string interceptKeywords = 8;
   int64 interceptLimit = 9;
   string interceptOtherWords = 10;
-  string keywords = 11;
+  string keyWords = 11;
 }
 
 message  PurchaseList {

+ 1 - 1
jyBXCore/rpc/internal/logic/purchasesearchlogic.go

@@ -65,7 +65,7 @@ func (l *PurchaseSearchLogic) PurchaseSearch(in *bxcore.PurchaseReq) (*bxcore.Pu
 	res.Data.HighlightWords = ps.HighlightWords
 	res.Data.Total = ps.Total
 	res.Data.Count = ps.Count
-	res.Data.Keywords = ps.HighlightWords
+	res.Data.KeyWords = ps.HighlightWords
 	res.Data.InterceptLimit = int64(MC.IntAllDef(IC.C.KeywordsLimit, 35))
 	res.Data.InterceptKeywords = ps.InterceptKeyWords
 	res.Data.InterceptOtherWords = ps.TipMsg

+ 5 - 5
jyBXCore/rpc/type/bxcore/bxcore.pb.go

@@ -6482,7 +6482,7 @@ type PurchaseData struct {
 	InterceptKeywords   string          `protobuf:"bytes,8,opt,name=interceptKeywords,proto3" json:"interceptKeywords,omitempty"`
 	InterceptLimit      int64           `protobuf:"varint,9,opt,name=interceptLimit,proto3" json:"interceptLimit,omitempty"`
 	InterceptOtherWords string          `protobuf:"bytes,10,opt,name=interceptOtherWords,proto3" json:"interceptOtherWords,omitempty"`
-	Keywords            string          `protobuf:"bytes,11,opt,name=keywords,proto3" json:"keywords,omitempty"`
+	KeyWords            string          `protobuf:"bytes,11,opt,name=keyWords,proto3" json:"keyWords,omitempty"`
 }
 
 func (x *PurchaseData) Reset() {
@@ -6587,9 +6587,9 @@ func (x *PurchaseData) GetInterceptOtherWords() string {
 	return ""
 }
 
-func (x *PurchaseData) GetKeywords() string {
+func (x *PurchaseData) GetKeyWords() string {
 	if x != nil {
-		return x.Keywords
+		return x.KeyWords
 	}
 	return ""
 }
@@ -7868,8 +7868,8 @@ var file_bxcore_proto_rawDesc = []byte{
 	0x6d, 0x69, 0x74, 0x12, 0x30, 0x0a, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74,
 	0x4f, 0x74, 0x68, 0x65, 0x72, 0x57, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09,
 	0x52, 0x13, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x63, 0x65, 0x70, 0x74, 0x4f, 0x74, 0x68, 0x65, 0x72,
-	0x57, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
-	0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64,
+	0x57, 0x6f, 0x72, 0x64, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x57, 0x6f, 0x72, 0x64,
+	0x73, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x57, 0x6f, 0x72, 0x64,
 	0x73, 0x22, 0xb2, 0x05, 0x0a, 0x0c, 0x50, 0x75, 0x72, 0x63, 0x68, 0x61, 0x73, 0x65, 0x4c, 0x69,
 	0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02,
 	0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09,