api接口提交
This commit is contained in:
@@ -12,7 +12,7 @@ class SyncAllFriendsJob
|
||||
public function fire(Job $job, $data)
|
||||
{
|
||||
try {
|
||||
$wechatId = $data['wechatId'];
|
||||
$wechatId = 'Lytiao1';
|
||||
$pageIndex = $data['pageIndex'];
|
||||
$pageSize = $data['pageSize'];
|
||||
$preFriendId = isset($data['preFriendId']) ? $data['preFriendId'] : '';
|
||||
|
||||
@@ -204,6 +204,13 @@ class WorkbenchTrafficDistributeJob
|
||||
->whereIn('wa.currentDeviceId', $devices)
|
||||
->field('wf.id,wf.wechatAccountId,wf.wechatId,wf.labels,sa.userName,wa.currentDeviceId as deviceId');
|
||||
|
||||
//lllll
|
||||
if($workbench->id == 65){
|
||||
$query->where('wf.accountId',1602);
|
||||
}
|
||||
|
||||
|
||||
|
||||
if(!empty($labels)){
|
||||
$query->where(function ($q) use ($labels) {
|
||||
foreach ($labels as $label) {
|
||||
@@ -212,7 +219,7 @@ class WorkbenchTrafficDistributeJob
|
||||
});
|
||||
}
|
||||
$list = $query->page($page, $pageSize)->order('wf.id DESC')->select();
|
||||
|
||||
|
||||
return $list;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user