From 5414f8f6e0034f5c897b18457b4ab47be302bea8 Mon Sep 17 00:00:00 2001 From: admin <1101184511@qq.com> Date: 星期四, 31 七月 2025 00:13:11 +0800 Subject: [PATCH] 功能完善 --- src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoJS2Controller.java | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoJS2Controller.java b/src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoJS2Controller.java index 9052144..c296090 100644 --- a/src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoJS2Controller.java +++ b/src/main/java/com/taoke/autopay/controller/admin/AdminClientInfoJS2Controller.java @@ -136,6 +136,11 @@ } if(!StringUtil.isNullOrEmpty(info.getAlipayPassword())){ info.setAlipayPassword(AESUtil.encrypt(info.getAlipayPassword(), Constant.AES_KEY)); + }else{ + ClientAdditionalInfo old = clientAdditionalInfoService.getClientAdditionalInfoByClientId(info.getId()); + if(StringUtil.isNullOrEmpty(old.getAlipayPassword())){ + return JsonUtil.loadFalseResult("灏氭湭璁剧疆鏀粯瀹濆瘑鐮�"); + } } clientAdditionalInfoService.updateClientAdditionalInfo(info); return JsonUtil.loadTrueResult(""); @@ -148,6 +153,7 @@ return JsonUtil.loadFalseResult("鏁版嵁涓嶅畬鏁�"); } ClientAdditionalInfo additionalInfo = clientAdditionalInfoService.getClientAdditionalInfoByClientId(id); + additionalInfo.setAlipayPassword(""); return JsonUtil.loadTrueResult(gson.toJson(additionalInfo)); } -- Gitblit v1.8.0