dos 1 ay önce
ebeveyn
işleme
89f544e97e

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

@@ -151,6 +151,9 @@ public class AppUsersCashrecordController extends BaseController
         update.setId(cashrecord.getId());
         update.setStatus(appUsersCashrecord.getStatus());
         update.setReason(appUsersCashrecord.getReason());
+        if(appUsersCashrecord.getCallOther() == 0 && 1== appUsersCashrecord.getStatus().intValue()){
+            return R.fail("审核失败,未找到对应渠道,请驳回或者人工审核");
+        }
         if(1 == appUsersCashrecord.getStatus().intValue() && null != appUsersCashrecord.getCashChannelId() && appUsersCashrecord.getCashChannelId() > 0
          && appUsersCashrecord.getCallOther() == 0){
             //审核通过
@@ -192,6 +195,8 @@ public class AppUsersCashrecordController extends BaseController
                     appUsersCashrecordService.updateAppUsersCashrecord(cashRecord);
                     throw new ServiceException("发起提现失败: " + map.get("msg"));
                 }
+            }else{
+                return R.fail("审核失败,未找到对应渠道,请驳回或者人工审核");
             }
         }
         if(2 == appUsersCashrecord.getStatus().intValue()){