dos 1 月之前
父节点
当前提交
39ea8bcad0

+ 6 - 3
game-business/src/main/java/com/game/business/controller/AppUsersCashrecordController.java

@@ -1,5 +1,7 @@
 package com.game.business.controller;
 
+import java.beans.Encoder;
+import java.net.URLEncoder;
 import java.util.Arrays;
 import java.util.List;
 import java.util.Map;
@@ -15,6 +17,7 @@ import com.game.business.service.IAppChargeChannelService;
 import com.game.business.service.IAppUserService;
 import com.game.business.service.IAppUsersCashAccountService;
 import com.game.business.task.AppUserCountTask;
+import com.game.business.util.EncodeUtils;
 import com.game.business.util.other.PayOrderUtils;
 import com.game.common.annotation.Anonymous;
 import com.game.common.constant.AppSceneType;
@@ -161,9 +164,9 @@ public class AppUsersCashrecordController extends BaseController
                     if(null != appUsersCashAccount) {
                         JSONObject jsonObject = new JSONObject();
                         jsonObject.put("cardNumber", appUsersCashrecord.getAccount());
-                        jsonObject.put("bankName", appUsersCashrecord.getAccountBank());
-                        jsonObject.put("branchName", appUsersCashAccount.getBranch());
-                        jsonObject.put("ownerName", appUsersCashAccount.getName());
+                        jsonObject.put("bankName", URLEncoder.encode(appUsersCashrecord.getAccountBank(),"UTF-8"));
+                        jsonObject.put("branchName", URLEncoder.encode(appUsersCashAccount.getBranch(),"UTF-8"));
+                        jsonObject.put("ownerName", URLEncoder.encode(appUsersCashAccount.getName(),"UTF-8"));
                         extra = jsonObject.toString();
                     }else{
                         logger.info("调起第三方失败,用户提现账号不存在");