Commit 0c6a0e6d by 杨树贤

Merge branch 'master' into ysx-ic助手服务开发-20190824

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