绑定账号设定
parent
297157a9ec
commit
634a6dc61a
|
|
@ -92,14 +92,14 @@ public class AccountService {
|
|||
/**
|
||||
* 绑定账号新增-企业
|
||||
*
|
||||
* @param request AddPrimAccRequest
|
||||
* @return AddPrimAccResponse
|
||||
* @param request AddPrimAccPersonRequest
|
||||
* @return AddPrimAccPersonResponse
|
||||
*/
|
||||
public AddPrimAccPersonResponse addPrimAccCompany(AddPrimAccPersonRequest request) {
|
||||
public AddPrimAccCompanyResponse addPrimAccCompany(AddPrimAccCompanyRequest request) {
|
||||
String url = "/accInfo/addPrimAcc";
|
||||
HttpHeaders headers = new HttpHeaders();
|
||||
headers.addHeader(API_VERSION, V_1);
|
||||
HttpResponse<AddPrimAccPersonResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), AddPrimAccPersonResponse.class);
|
||||
HttpResponse<AddPrimAccCompanyResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), AddPrimAccCompanyResponse.class);
|
||||
return httpResponse.getServiceResponse();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue