dos 1 개월 전
부모
커밋
3d9b34d9b5

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

@@ -185,7 +185,7 @@ public class AppUsersCashrecordController extends BaseController
                     cashRecord.setCashOutStatus(3L); //转出中
                     appUsersCashrecordService.updateAppUsersCashrecord(cashRecord);
                 }else{
-                    throw new ServiceException("发起支付失败: " + map.get("msg"));
+                    throw new ServiceException("发起提现失败: " + map.get("msg"));
                 }
             }
         }

+ 3 - 1
game-business/src/main/java/com/game/business/util/other/PayOrderUtils.java

@@ -99,7 +99,9 @@ public class PayOrderUtils {
                 }
 
                 String payUrl = jsonObject.getString("payUrl");
-                payUrl = payUrl.replaceAll("\\\\" , "");
+                if (StringUtils.isNotBlank(payUrl)) {
+                    payUrl = payUrl.replaceAll("\\\\" , "");
+                }
                 resultMap.put("code", 1);
                 resultMap.put("data", payUrl);
                 return resultMap;