|
|
@@ -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');
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+
|
|
|
|
|
|
/**
|
|
|
* 提现自动打款回调
|