WIN-2308041133\Administrator 6 months ago
parent
commit
0d6acf62f8
1 changed files with 3 additions and 3 deletions
  1. 3 3
      application/api/controller/Pay.php

+ 3 - 3
application/api/controller/Pay.php

@@ -959,7 +959,7 @@ class Pay extends Api
                     'paid' => 1,
                     'price' => $value,
                     'hash' => $transaction_id,
-                    'type' => 'trx',
+                    'recharge_type' => 'trx',
                     'pay_time' => time(),
                     'add_time' => time()
                 ];
@@ -989,7 +989,7 @@ class Pay extends Api
                     'paid' => 1,
                     'price' => $value2,
                     'hash' => $transactionHash,
-                    'type' => 'bsc',
+                    'recharge_type' => 'bsc',
                     'pay_time' => time(),
                     'add_time' => time()
                 ];
@@ -1024,7 +1024,7 @@ class Pay extends Api
                 'paid' => 1,
                 'price' => $value2,
                 'hash' => $transactionHash,
-                'type' => 'bsc',
+                'recharge_type' => 'bsc',
                 'pay_time' => time(),
                 'add_time' => time()
             ];