Commit 74699c8c authored by zhoujun's avatar zhoujun

搜索分页

parent 3b7804cb
Pipeline #2251 passed with stage
in 0 seconds
......@@ -6,6 +6,7 @@ use App\Models\BaseModel;
class AccountModel extends BaseModel
{
protected $primaryKey = 'user_id';
public $incrementing = false;
protected $connection = 'mysql';
public $timestamps = false;
protected $table = 'account';
......
......@@ -85,7 +85,6 @@ class AccountService implements IAccountService
return $query->where('channel', $channel);
})->select('user_id','sycee','platform','platform_id','channel')->first();
if(!$account) return [];
$array = [];
$logs = SyceeLogModel::where('user_id',$account->user_id)->when($start != '', function ($query) use ($start) {
$startTime = date('Y-m-d H:i:s',strtotime($start) - 1);
......
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