优化立案申请功能
This commit is contained in:
+7
-7
@@ -65,17 +65,17 @@ public class IdentityAuthenticationServiceImpl implements IdentityAuthenticatio
|
|||||||
IdentityAuthentication identityAuthentication = new IdentityAuthentication();
|
IdentityAuthentication identityAuthentication = new IdentityAuthentication();
|
||||||
try{
|
try{
|
||||||
// Credential credIdenAuth = new Credential(SECRET_ID, SECRET_KEY);
|
// Credential credIdenAuth = new Credential(SECRET_ID, SECRET_KEY);
|
||||||
Credential credIdenAuth = new Credential(credentialSecretId, credentialSecretKey);
|
Credential authenti = new Credential(credentialSecretId, credentialSecretKey);
|
||||||
HttpProfile httpProfileIdenAuth = new HttpProfile();
|
HttpProfile httpProfileIdenAuth = new HttpProfile();
|
||||||
httpProfileIdenAuth.setEndpoint("faceid.tencentcloudapi.com");
|
httpProfileIdenAuth.setEndpoint("faceid.tencentcloudapi.com");
|
||||||
ClientProfile clientProfileIdenAuth = new ClientProfile();
|
ClientProfile clientInv= new ClientProfile();
|
||||||
clientProfileIdenAuth.setHttpProfile(httpProfileIdenAuth);
|
clientInv.setHttpProfile(httpProfileIdenAuth);
|
||||||
FaceidClient clientIdenAuth = new FaceidClient(credIdenAuth, "", clientProfileIdenAuth);
|
FaceidClient clientIdenAuth = new FaceidClient(authenti, "", clientInv);
|
||||||
// 实例化一个请求对象
|
// 实例化一个请求对象
|
||||||
GetEidTokenRequest reqIdenAuth = new GetEidTokenRequest();
|
GetEidTokenRequest reqest = new GetEidTokenRequest();
|
||||||
//设置请求参数
|
//设置请求参数
|
||||||
reqIdenAuth.setMerchantId(merchantId);
|
reqest.setMerchantId(merchantId);
|
||||||
GetEidTokenResponse respIdenAuth = clientIdenAuth.GetEidToken(reqIdenAuth);
|
GetEidTokenResponse respIdenAuth = clientIdenAuth.GetEidToken(reqest);
|
||||||
String respJSON = GetEidTokenResponse.toJsonString(respIdenAuth);
|
String respJSON = GetEidTokenResponse.toJsonString(respIdenAuth);
|
||||||
JSONObject objJSON = JSON.parseObject(respJSON);
|
JSONObject objJSON = JSON.parseObject(respJSON);
|
||||||
JSONObject objJSONRes = (JSONObject) objJSON.get("Response");
|
JSONObject objJSONRes = (JSONObject) objJSON.get("Response");
|
||||||
|
|||||||
@@ -46,7 +46,7 @@
|
|||||||
update case_attach
|
update case_attach
|
||||||
set
|
set
|
||||||
case_appli_id= #{caseAppliId}
|
case_appli_id= #{caseAppliId}
|
||||||
where annexId = #{annex_id}
|
where annex_id = #{annexId}
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user