退出登陆&&跟进数量
This commit is contained in:
parent
d28667b6b7
commit
4aedaf2974
|
@ -77,6 +77,7 @@ class IndexController extends base
|
||||||
$end = strtotime(date('Y-m-d', strtotime('+1 days'))) * 1000 - 1;
|
$end = strtotime(date('Y-m-d', strtotime('+1 days'))) * 1000 - 1;
|
||||||
$followMessageList = Orders::where(['admin_id' => $request->admin->id])
|
$followMessageList = Orders::where(['admin_id' => $request->admin->id])
|
||||||
->whereBetween('next_follow', [$start, $end])
|
->whereBetween('next_follow', [$start, $end])
|
||||||
|
->where('status', 1)
|
||||||
->field(['id'])
|
->field(['id'])
|
||||||
->select();
|
->select();
|
||||||
$followMessage = count($followMessageList);
|
$followMessage = count($followMessageList);
|
||||||
|
|
|
@ -153,7 +153,7 @@ class Meituan {
|
||||||
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
|
curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
|
||||||
}
|
}
|
||||||
|
|
||||||
echo $body = curl_exec($ch);
|
$body = curl_exec($ch);
|
||||||
curl_close($ch);
|
curl_close($ch);
|
||||||
return json_decode($body);
|
return json_decode($body);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue