Procházet zdrojové kódy

提现只有一个

doge před 1 týdnem
rodič
revize
027a0e1b75

+ 2 - 2
app/Http/Controllers/api/Wallet.php

@@ -361,14 +361,14 @@ class Wallet extends BaseController
     
 
     /**
-     * 提现(手动到账): DF001 支付宝转卡; DF002 支付宝转支付宝; DF005数字人民币; JDpay JD钱包; NOwithdraw NO钱包; ZIMUwithdraw 808币提现;ZIMUcash 人民币代付; rgtx(人工提现,手动打款)
+     * 提现(手动到账): DF001 支付宝转卡; DF002 支付宝转支付宝; DF005数字人民币; JDpay JD钱包; NOwithdraw NO钱包; ZIMUcash 808人民币代付; rgtx(人工提现,手动打款)
      */
     public function payout() {
         $error_code = -1;
         try {
             $params = request()->validate([
                 'amount' => ['required', 'numeric', 'min:0.01'],
-                'channel' => ['required', 'string', 'in:DF001,DF002,DF005,JDpay,jdpay,NOwithdraw,ZIMUwithdraw,ZIMUcash,rgtx'],
+                'channel' => ['required', 'string', 'in:DF001,DF002,DF005,JDpay,jdpay,NOwithdraw,ZIMUcash,rgtx'],
                 'bank_name' => ['required', 'string'],
                 'account' => ['required', 'string'],
                 'card_no' => ['required', 'string'],

+ 1 - 2
database/migrations/2026_06_09_120000_add_zimu_pay_channels.php

@@ -11,13 +11,12 @@ return new class extends Migration {
     {
         if (Schema::hasTable('recharge_channel')) {
             $this->upsertChannel(1, '808充值', 'ZIMUpay', 0, 10, 49999);
-            $this->upsertChannel(2, '808币提现', 'ZIMUwithdraw', 0, 10, 49999);
             $this->upsertChannel(2, '808人民币代付', 'ZIMUcash', 0, 10, 49999);
         }
 
         if (Schema::hasTable('recharge_channel_group')) {
             $this->appendGroupTypes('recharge_type', ['ZIMUpay']);
-            $this->appendGroupTypes('withdraw_type', ['ZIMUwithdraw', 'ZIMUcash']);
+            $this->appendGroupTypes('withdraw_type', ['ZIMUcash']);
         }
     }