update:第三方待办添加用户名后缀并加密,第三方点击可跳转至审批处理页面22
This commit is contained in:
parent
2b89841beb
commit
3618b3ef91
|
@ -46,8 +46,9 @@ public class BacklogServiceHandle extends AbstractServiceHandler {
|
|||
for (DynamicObject query_one : query) {
|
||||
String userName;
|
||||
try {
|
||||
userName = RSAUtil.decrypt(query_one.getString("username"),RSAUtil.getPrivateKeyFromString());
|
||||
userName = RSAUtil.encrypt(query_one.getString("username"),RSAUtil.getPublicKeyFromString());
|
||||
}catch (Exception e){
|
||||
logger.info("####公钥加密出现异常,请联系运维人员排查!");
|
||||
ErrorCode errorCode = new ErrorCode("error_code", "公钥加密出现异常,请联系运维人员排查!");
|
||||
throw new KDException(errorCode, e);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue