소스 검색

teac生态

董荣正 1 개월 전
부모
커밋
d02c0053da
1개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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');
     }
 
+    
+
 
     /**
      * 提现自动打款回调