去掉调试日志

This commit is contained in:
jianghanbo 2024-08-08 21:14:11 +08:00
parent abc1738bdf
commit 6ebd5fdc10
3 changed files with 1 additions and 4 deletions

View File

@ -24,7 +24,7 @@ class AdminController extends base
if($is_order = $request->get('is_order')) { if($is_order = $request->get('is_order')) {
$query->where('is_order', $is_order); $query->where('is_order', $is_order);
} }
Log::info('type_desc:' . $request->get('type_desc'));
if($typeDesc = $request->get('type_desc')) { if($typeDesc = $request->get('type_desc')) {
$routeType = self::ROUTE_LISTS[mb_substr($typeDesc, 0, 2)] ?? 10; $routeType = self::ROUTE_LISTS[mb_substr($typeDesc, 0, 2)] ?? 10;
$query->where('route_type', $routeType); $query->where('route_type', $routeType);

View File

@ -44,7 +44,6 @@ class DataController extends base
if (is_string($times)) { if (is_string($times)) {
$times = explode(',', $times); $times = explode(',', $times);
} }
Log::info('proudct times2222:' . json_encode($times));
$query->whereBetween('o.create_at',[strtotime($times[0])*1000,strtotime($times[1])*1000+999]); $query->whereBetween('o.create_at',[strtotime($times[0])*1000,strtotime($times[1])*1000+999]);
} }
if($os) { if($os) {

View File

@ -26,7 +26,6 @@ class AliCloudApiService {
$url = $host . $path; $url = $host . $path;
$aliData = $this->curlRequest($url, $method, $headers, $bodys); $aliData = $this->curlRequest($url, $method, $headers, $bodys);
Log::info("查询手机归属地{$mobile}" . json_encode($aliData));
if (isset($aliData['code']) && $aliData['code'] == 200) { if (isset($aliData['code']) && $aliData['code'] == 200) {
ThirdMobileLogs::query()->insert([ ThirdMobileLogs::query()->insert([
'mobile' => $mobile, 'mobile' => $mobile,
@ -63,7 +62,6 @@ class AliCloudApiService {
curl_setopt($curl, CURLOPT_POSTFIELDS, $bodys); curl_setopt($curl, CURLOPT_POSTFIELDS, $bodys);
curl_close($curl); curl_close($curl);
list($header, $body) = explode("\r\n\r\n", curl_exec($curl), 2); list($header, $body) = explode("\r\n\r\n", curl_exec($curl), 2);
Log::info("查询手机归属地1" . $body);
return json_decode($body, true); return json_decode($body, true);
} }
} }