فهرست منبع

接口名修改

WH01243 1 روز پیش
والد
کامیت
9a71a02ddd
5فایلهای تغییر یافته به همراه8 افزوده شده و 8 حذف شده
  1. 1 1
      api/biService.api
  2. 1 1
      api/internal/handler/routes.go
  3. 1 1
      rpc/biService.proto
  4. 3 3
      rpc/pb/biService.pb.go
  5. 2 2
      rpc/pb/biService_grpc.pb.go

+ 1 - 1
api/biService.api

@@ -305,5 +305,5 @@ service biService-api {
 	post /biService/updateCompanyNameReq (UpdateCompanyNameReq) returns (biResp)
 
 	@handler AddEntPerson
-	post /biService/AddEntPerson (AddEntPersonReq) returns (biResp)
+	post /biService/addEntPerson (AddEntPersonReq) returns (biResp)
 }

+ 1 - 1
api/internal/handler/routes.go

@@ -159,7 +159,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
 			},
 			{
 				Method:  http.MethodPost,
-				Path:    "/biService/AddEntPerson",
+				Path:    "/biService/addEntPerson",
 				Handler: AddEntPersonHandler(serverCtx),
 			},
 		},

+ 1 - 1
rpc/biService.proto

@@ -340,5 +340,5 @@ service BiService {
   rpc MaterialSave(MaterialSaveReq) returns(MaterialSaveResp);//物料分发保存
   rpc clueTransfer(ClueTransferReq) returns(BiResp);
   rpc updateCompanyName(UpdateCompanyNameReq) returns(BiResp);
-  rpc  AddEntPerson(AddEntPersonReq) returns(BiResp);
+  rpc addEntPerson(AddEntPersonReq) returns(BiResp);
 }

+ 3 - 3
rpc/pb/biService.pb.go

@@ -3696,7 +3696,7 @@ var file_biService_proto_rawDesc = []byte{
 	0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x15, 0x2e, 0x55,
 	0x70, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x4e, 0x61, 0x6d, 0x65,
 	0x52, 0x65, 0x71, 0x1a, 0x07, 0x2e, 0x42, 0x69, 0x52, 0x65, 0x73, 0x70, 0x12, 0x29, 0x0a, 0x0c,
-	0x41, 0x64, 0x64, 0x45, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x10, 0x2e, 0x41,
+	0x61, 0x64, 0x64, 0x45, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x12, 0x10, 0x2e, 0x41,
 	0x64, 0x64, 0x45, 0x6e, 0x74, 0x50, 0x65, 0x72, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x07,
 	0x2e, 0x42, 0x69, 0x52, 0x65, 0x73, 0x70, 0x42, 0x06, 0x5a, 0x04, 0x2e, 0x2f, 0x70, 0x62, 0x62,
 	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
@@ -3799,7 +3799,7 @@ var file_biService_proto_depIdxs = []int32{
 	39, // 34: BiService.MaterialSave:input_type -> MaterialSaveReq
 	41, // 35: BiService.clueTransfer:input_type -> ClueTransferReq
 	42, // 36: BiService.updateCompanyName:input_type -> UpdateCompanyNameReq
-	43, // 37: BiService.AddEntPerson:input_type -> AddEntPersonReq
+	43, // 37: BiService.addEntPerson:input_type -> AddEntPersonReq
 	1,  // 38: BiService.myDataAsset:output_type -> MyDataAssetResp
 	4,  // 39: BiService.addProject:output_type -> AddProjectResp
 	6,  // 40: BiService.getInfoId:output_type -> GetInfoIdResp
@@ -3828,7 +3828,7 @@ var file_biService_proto_depIdxs = []int32{
 	40, // 63: BiService.MaterialSave:output_type -> MaterialSaveResp
 	9,  // 64: BiService.clueTransfer:output_type -> BiResp
 	9,  // 65: BiService.updateCompanyName:output_type -> BiResp
-	9,  // 66: BiService.AddEntPerson:output_type -> BiResp
+	9,  // 66: BiService.addEntPerson:output_type -> BiResp
 	38, // [38:67] is the sub-list for method output_type
 	9,  // [9:38] is the sub-list for method input_type
 	9,  // [9:9] is the sub-list for extension type_name

+ 2 - 2
rpc/pb/biService_grpc.pb.go

@@ -47,7 +47,7 @@ const (
 	BiService_MaterialSave_FullMethodName        = "/BiService/MaterialSave"
 	BiService_ClueTransfer_FullMethodName        = "/BiService/clueTransfer"
 	BiService_UpdateCompanyName_FullMethodName   = "/BiService/updateCompanyName"
-	BiService_AddEntPerson_FullMethodName        = "/BiService/AddEntPerson"
+	BiService_AddEntPerson_FullMethodName        = "/BiService/addEntPerson"
 )
 
 // BiServiceClient is the client API for BiService service.
@@ -1136,7 +1136,7 @@ var BiService_ServiceDesc = grpc.ServiceDesc{
 			Handler:    _BiService_UpdateCompanyName_Handler,
 		},
 		{
-			MethodName: "AddEntPerson",
+			MethodName: "addEntPerson",
 			Handler:    _BiService_AddEntPerson_Handler,
 		},
 	},