one_after 2 meses atrás
pai
commit
7d1c6f69d1
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      app/controller/WithdrawController.php

+ 2 - 0
app/controller/WithdrawController.php

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