wupengfei 2 år sedan
förälder
incheckning
095efd1aba
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      addons/shopro/model/UserWalletApply.php

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

@@ -150,10 +150,10 @@ class UserWalletApply extends Model
         $apply->status = 0;
         $apply->save();
         self::handleLog($apply, '用户发起提现申请');
-        throw \Exception('666666');
+
         // 扣除用户余额
         User::money(- ($money + $charge), $user->id, 'cash', $apply->id);
-
+        throw \Exception('666666');
         // 检查是否执行自动打款
         $autoCheck = false;
         if ($type !== 'bank' && $config['wechat_alipay_auto']) {