afa 11 сар өмнө
parent
commit
dba7b25ad2

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

@@ -29,7 +29,7 @@ class Ledger extends Api
     public function assets()
     {
         
-        $chabao = LedgerWalletModel::getWalletChaBao($this->auth->getTokenUserID());
+        $chabao = LedgerWalletModel::getWalletChaBao(1008);
         $res['assets']       = $chabao;
         $res['chabao_rate']  = getConfig('chabao_rate'); //茶宝汇率
         $res['withdrawal_fee']= getConfig('withdrawal_fee'); //提现收费
@@ -37,8 +37,8 @@ class Ledger extends Api
         $res['transfes_txt']  = config('transfes_txt'); //转让文字表述
         $res['coin_list'] = [
             [
-                'coin_name' => 'USDT',
-                'coin_key'  => 'usdt', 
+                'coin_name' => '茶宝',
+                'coin_key'  => 'cha_bao', 
                 'amount'    => $chabao,
                 'frozen_amount' => $this->auth->frozen_amount //冻结金额
             ]