Browse Source

teac生态

董荣正 1 month ago
parent
commit
d02c0053da
1 changed files with 3 additions and 1 deletions
  1. 3 1
      application/api/controller/Ledger.php

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

@@ -348,7 +348,7 @@ class Ledger extends Api
         if(empty($amount) || empty($account)){
         if(empty($amount) || empty($account)){
             $this->error(__('Parameter error'));
             $this->error(__('Parameter error'));
         }
         }
-        $real   = bcsub($amount, bcmul(getConfig('teac_ecoly'), $amount, 2), 2) ; // 手续费
+        $real   = bcsub($amount, bcmul(getConfig('teac_ecology'), $amount, 2), 2) ; // 手续费
         // 启动事务
         // 启动事务
         Db::startTrans();
         Db::startTrans();
         try {
         try {
@@ -373,6 +373,8 @@ class Ledger extends Api
         $this->success('ok');
         $this->success('ok');
     }
     }
 
 
+    
+
 
 
     /**
     /**
      * 提现自动打款回调
      * 提现自动打款回调