Commit a9c941a4 authored by zhoujun's avatar zhoujun

调整日志类别

parent 89d57a7f
Pipeline #2182 passed with stage
in 0 seconds
...@@ -39,7 +39,7 @@ class ScriptService implements IScriptService ...@@ -39,7 +39,7 @@ class ScriptService implements IScriptService
$warnPeople = self::getWarnPeople(); $warnPeople = self::getWarnPeople();
if(empty($warnPeople)) return true; if(empty($warnPeople)) return true;
$logs = SyceeWithdrawModel::where('sycee_withdraw.serial','>',$lastId)->where('sycee_withdraw.cash','>',$oneMin)->join('account','sycee_withdraw.user_id','account.user_id')->orderBy('sycee_withdraw.serial','ASC')->select('account.user_id','account.platform','account.platform_id','account.channel','sycee_withdraw.serial','sycee_withdraw.cash','sycee_withdraw.withdraw_time')->limit(100)->get(); $logs = SyceeWithdrawModel::where('status',1)->where('sycee_withdraw.serial','>',$lastId)->where('sycee_withdraw.cash','>',$oneMin)->join('account','sycee_withdraw.user_id','account.user_id')->orderBy('sycee_withdraw.serial','ASC')->select('account.user_id','account.platform','account.platform_id','account.channel','sycee_withdraw.serial','sycee_withdraw.cash','sycee_withdraw.withdraw_time')->limit(100)->get();
$array = []; $array = [];
$maxId = 0; $maxId = 0;
...@@ -197,7 +197,7 @@ class ScriptService implements IScriptService ...@@ -197,7 +197,7 @@ class ScriptService implements IScriptService
*/ */
public function getPolymerizeWithdrawal(){ public function getPolymerizeWithdrawal(){
$lastId = self::getLastDataId(1); $lastId = self::getLastDataId(1);
$logs = SyceeWithdrawModel::where('sycee_withdraw.serial','>',$lastId)->join('account','sycee_withdraw.user_id','account.user_id')->orderBy('sycee_withdraw.serial','ASC')->select('account.user_id','account.platform','account.platform_id','account.channel','sycee_withdraw.serial','sycee_withdraw.cash','sycee_withdraw.withdraw_time')->limit(300)->get(); $logs = SyceeWithdrawModel::where('status',1)->where('sycee_withdraw.serial','>',$lastId)->join('account','sycee_withdraw.user_id','account.user_id')->orderBy('sycee_withdraw.serial','ASC')->select('account.user_id','account.platform','account.platform_id','account.channel','sycee_withdraw.serial','sycee_withdraw.cash','sycee_withdraw.withdraw_time')->limit(300)->get();
$array = []; $array = [];
$maxId = 0; $maxId = 0;
foreach($logs as $log){ foreach($logs as $log){
......
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