绑定账号设定

main
13009 2024-03-13 16:23:49 +08:00
parent 74cce316c2
commit 070c11bd65
1 changed files with 28 additions and 0 deletions

View File

@ -89,6 +89,34 @@ public class AccountService {
return httpResponse.getServiceResponse();
}
/**
*
*
* @param request InqPrimAccRequest
* @return InqPrimAccResponse
*/
public InqPrimAccResponse inqPrimAcc(InqPrimAccRequest request) {
String url = "/accInfo/inqPrimAcc";
HttpHeaders headers = new HttpHeaders();
headers.addHeader(API_VERSION, V_1);
HttpResponse<InqPrimAccResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), InqPrimAccResponse.class);
return httpResponse.getServiceResponse();
}
/**
*
*
* @param request SetPrimAccRequest
* @return SetPrimAccResponse
*/
public SetPrimAccResponse setPrimAcc(SetPrimAccRequest request) {
String url = "/accInfo/setPrimAcc";
HttpHeaders headers = new HttpHeaders();
headers.addHeader(API_VERSION, V_1);
HttpResponse<SetPrimAccResponse> httpResponse = apiClient.post(url, headers, request.toJsonRequest(), SetPrimAccResponse.class);
return httpResponse.getServiceResponse();
}
/**
*
*