Commit 28c32416 by 冷斌

add

parent 01d3425b
......@@ -160,7 +160,7 @@ class Model_User extends PhalApi_Model_NotORM
$nowtime = time();
$uid = $data['uid'];
$accountid = $data['accountid'];
$cashvote = $data['cashvote'];
$money = $data['cashvote'];
$config = getConfigPri();
$cash_start = $config['cash_start'];
......@@ -198,14 +198,13 @@ class Model_User extends PhalApi_Model_NotORM
return 1007;
}
//提现比例
$cash_rate = $config['cash_rate'];
/* 最低额度 */
$cash_min = $config['cash_min'];
//提现钱数
$money = floor($cashvote / $cash_rate);
// $money = floor($cashvote / $cash_rate);
if ($money < $cash_min) {
return 1004;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment