Browse Source

提现成功邮件

laowu 2 weeks ago
parent
commit
9dd266e3d0

+ 1 - 0
app/Http/logic/api/AiNewPayCashierLogic.php

@@ -198,6 +198,7 @@ class AiNewPayCashierLogic implements CashierInterFace
 
                     $redis = Redis::connection();
                     $redis->incr('draw_' . date('Ymd') . $UserID);
+                    PrivateMail::successMail($UserID, $OrderId, $TakeMoney);
                     break;
 
                 case 2: // 提现失败

+ 1 - 0
app/Http/logic/api/AiPayCashierLogic.php

@@ -295,6 +295,7 @@ class AiPayCashierLogic implements CashierInterFace
         (new RechargeWithDraw())->withDraw($UserID, $TakeMoney);
         $redis = Redis::connection();
         $redis->incr('draw_' . date('Ymd') . $UserID);
+        PrivateMail::successMail($UserID, $OrderId, $TakeMoney);
 
         StoredProcedure::user_label($UserID, 2, $TakeMoney);
     }

+ 1 - 0
app/Http/logic/api/CoinPayCashierLogic.php

@@ -185,6 +185,7 @@ class CoinPayCashierLogic implements CashierInterFace
         (new RechargeWithDraw())->withDraw($UserID, $TakeMoney);
         $redis = Redis::connection();
         $redis->incr('draw_' . date('Ymd') . $UserID);
+        PrivateMail::successMail($UserID, $OrderId, $TakeMoney);
 
         StoredProcedure::user_label($UserID, 2, $TakeMoney);
     }

+ 1 - 0
app/Http/logic/api/PagYeepPayCashierLogic.php

@@ -256,6 +256,7 @@ class PagYeepPayCashierLogic implements CashierInterFace
 
                     $redis = Redis::connection();
                     $redis->incr('draw_' . date('Ymd') . $UserID);
+                    PrivateMail::successMail($UserID, $OrderId, $TakeMoney);
                     break;
 
                 case 2: // 提现失败

+ 1 - 0
app/Http/logic/api/WDPayCashierLogic.php

@@ -234,6 +234,7 @@ class WDPayCashierLogic implements CashierInterFace
 
                     $redis = Redis::connection();
                     $redis->incr('draw_' . date('Ymd') . $UserID);
+                    PrivateMail::successMail($UserID, $OrderId, $TakeMoney);
                     break;
 
                 case 2: // 提现失败

+ 1 - 0
app/Http/logic/api/WiwiPayCashierLogic.php

@@ -217,6 +217,7 @@ class WiwiPayCashierLogic implements CashierInterFace
 
                     $redis = Redis::connection();
                     $redis->incr('draw_' . date('Ymd') . $UserID);
+                    PrivateMail::successMail($UserID, $OrderId, $TakeMoney);
                     break;
 
                 case 2: // 提现失败

+ 2 - 2
resources/lang/en/messages.php

@@ -7,7 +7,7 @@ return [
     "mail_type" => [
         "praise" => "Your support for the platform is appreciated!",
         "pay_success" => "The transaction of the coins you purchased has been completed.",
-        "withdraw_success" => "Your amount has been successfully withdrawn.",
+        "withdraw_success" => "Withdrawal Successful.",
         "withdraw_fail" => "Your withdrawal request failed.Please contact customer service!",
         "withdraw_refuse" => "Your withdrawal request was rejected.",
         "withdraw_clear" => "Your withdrawal request has been cleared.",
@@ -15,7 +15,7 @@ return [
     "mail_content" => [
         "praise_text" => "If you are satisfied with our game, you can give us a five-star rating in the Google Play store and provide a screenshot of your review to customer service for a $5 bonus. GOOGLE PLAY store link: https://play.google.com/store/apps/details?id=:package",
         "pay_success_text" => "Acquired props: :favorable_price Coins\nOrder number: :order_sn\nIf you have any questions, please contact customer service.",
-        "withdraw_success_text" => "1. Your withdrawal order: :order_sn.\n2. Amount received: :amount\n3. If you have any questions, please contact customer service.",
+        "withdraw_success_text" => "Your withdrawal of :amount has been processed successfully. Please go to claim your funds.",
         "withdraw_fail_text" => "1. Your withdrawal order: :order_sn failed.\n2. Reasons for failure: Withdrawal error, error code: :msg\n3. Please withdraw the amount as soon as possible.\n4. If you have any questions, please contact customer service.",
         "withdraw_refuse_text" => "1. Your withdrawal order: :order_sn failed.\n2. Reasons for failure: The system administrator rejected your application.\n3. Please withdraw the amount as soon as possible.\n4. If you have any questions, please contact customer service.",
         "withdraw_clear_text" => "Your withdrawal order: :order_sn failed.\nHello, your account has been detected as abnormal, this withdrawal failed and the coins will be refunded.\nIf we find the anomaly again, we may confiscate your coins or even block your account. If you have any questions, you can ask customer service!",