Commit 94fc8c40 by 叶明星

过滤微信提现

parent 4d629493
......@@ -183,7 +183,7 @@ class UserExchangesController extends Controller
$Redis->hset('ic_user' ,$UserInfo['user_id'] , json_encode($UserInfo));
//金额小于20元时,推送一个异步任务(用来提现或者充值),延时10秒,防止主从同步不及时
if($data['amount'] < 20){
if($data['amount'] < 20 && $data['type'] == 1){
$Task = new ExchangesTask($data,$ic_exchange_settings);
$Task->delay(10);
$result = Task::deliver($Task);
......
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 sign in to comment