wupengfei 2 年之前
父節點
當前提交
fa1239e48c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      addons/shopro/model/UserWalletApply.php

+ 1 - 1
addons/shopro/model/UserWalletApply.php

@@ -150,6 +150,7 @@ class UserWalletApply extends Model
         $apply->status = 0;
         $apply->save();
         self::handleLog($apply, '用户发起提现申请');
+        throw \Exception('666666');
         // 扣除用户余额
         User::money(- ($money + $charge), $user->id, 'cash', $apply->id);
 
@@ -163,7 +164,6 @@ class UserWalletApply extends Model
             $apply = self::handleAgree($apply);
             $apply = self::handleWithdraw($apply);
         }
-        throw \Exception('111111');
         return $apply;
     }