董荣正 1 mese fa
parent
commit
d02c0053da
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  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)){
             $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();
         try {
@@ -373,6 +373,8 @@ class Ledger extends Api
         $this->success('ok');
     }
 
+    
+
 
     /**
      * 提现自动打款回调