退出登陆&&跟进数量

This commit is contained in:
jianghanbo 2024-09-05 10:41:25 +08:00
parent d28667b6b7
commit 4aedaf2974
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -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);
} }