From 116948bcec330a6dde841708515c222fcebf51a7 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期二, 06 二月 2024 10:12:10 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/crm --- proto/crm_aps.proto | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/proto/crm_aps.proto b/proto/crm_aps.proto index f740c1c..1676907 100644 --- a/proto/crm_aps.proto +++ b/proto/crm_aps.proto @@ -7,6 +7,9 @@ rpc SendSalesDetailsToApsProject(SendSalesDetailsToApsProjectRequest) returns(SendSalesDetailsToApsProjectResponse) {} rpc GetCrmSalesDetailsList(GetCrmSalesDetailsListRequest) returns(GetCrmSalesDetailsListResponse) {} rpc SendSalesDetailsAndProjectToCrm(SendSalesDetailsAndProjectToCrmRequest) returns(SendSalesDetailsAndProjectToCrmResponse) {} + rpc GetClientList(GetClientListRequest) returns(GetClientListResponse) {} + rpc UpdateSalesDetail(UpdateSalesDetailRequest) returns(UpdateSalesDetailResponse) {} + rpc RemoveSalesDetail(RemoveSalesDetailRequest) returns(RemoveSalesDetailRequest) {} } //-----------------------------------------------------GetApsProjectList-------------------------------------- @@ -80,4 +83,34 @@ } +//------------------------------------------------------------GetClientList----------------------------------- +message GetClientListRequest{ + int64 page = 1; + int64 page_size = 2; + string keyword = 3; +} + +message GetClientListResponse{ + int64 total = 1; + repeated Client list = 2; +} + +message Client { + string number = 1; + string name = 2; +} + + +message UpdateSalesDetailRequest { + string number = 1;//閿�鍞槑缁嗗崟鍙� + int32 status = 2;//鐘舵�� +} + +message UpdateSalesDetailResponse {} + +message RemoveSalesDetailRequest { + string number = 1;//閿�鍞槑缁嗗崟鍙� +} + +message RemoveSalesDetailResponse {} \ No newline at end of file -- Gitblit v1.8.0