绑定账号设定
parent
74cce316c2
commit
070c11bd65
|
|
@ -89,6 +89,34 @@ public class AccountService {
|
||||||
return httpResponse.getServiceResponse();
|
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();
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 绑定账号删除
|
* 绑定账号删除
|
||||||
*
|
*
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue