one_after 2 달 전
부모
커밋
7d1c6f69d1
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/controller/WithdrawController.php

+ 2 - 0
app/controller/WithdrawController.php

@@ -239,6 +239,8 @@ class WithdrawController
                 if($mygoodslist->balance<2000000){
                 if($mygoodslist->balance<2000000){
                     throw new \Exception('转账额度不足');
                     throw new \Exception('转账额度不足');
                 }
                 }
+            }else{
+                throw new \Exception('转账额度不足,先认证获取额度');
             }
             }
 
 
             $userdata = Db::table('wa_users')->where('id', $param['user_data']['id'])->first();
             $userdata = Db::table('wa_users')->where('id', $param['user_data']['id'])->first();