rkljw 8 kuukautta sitten
vanhempi
sitoutus
c2b5697a42

+ 1 - 1
.env

@@ -2,7 +2,7 @@ APP_NAME=user_producer
 APP_ENV=dev
 APP_ENV=dev
 
 
 DB_DRIVER=mysql
 DB_DRIVER=mysql
-DB_HOST=192.168.31.193
+DB_HOST=192.168.1.193
 DB_PORT=2333
 DB_PORT=2333
 DB_DATABASE=hyperf
 DB_DATABASE=hyperf
 DB_USERNAME=root
 DB_USERNAME=root

+ 23 - 0
.watcher.php

@@ -0,0 +1,23 @@
+<?php
+
+declare(strict_types=1);
+/**
+ * This file is part of Hyperf.
+ *
+ * @link     https://www.hyperf.io
+ * @document https://hyperf.wiki
+ * @contact  group@hyperf.io
+ * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
+ */
+use Hyperf\Watcher\Driver\ScanFileDriver;
+
+return [
+    'driver' => ScanFileDriver::class,
+    'bin' => PHP_BINARY,
+    'watch' => [
+        'dir' => ['app', 'config'],
+        'file' => ['.env'],
+        'scan_interval' => 2000,
+    ],
+    'ext' => ['.php', '.env'],
+];

+ 164 - 11
app/Exception/Handler/JsonRpcExceptionHandler.php

@@ -1,27 +1,43 @@
 <?php
 <?php
 namespace App\JsonRpc;
 namespace App\JsonRpc;
 use App\Model\Ad;
 use App\Model\Ad;
+use App\Model\AdPlace;
 use Hyperf\RpcServer\Annotation\RpcService;
 use Hyperf\RpcServer\Annotation\RpcService;
 use App\Tools\Result;
 use App\Tools\Result;
 #[RpcService(name: "AdService", protocol: "jsonrpc-http", server: "jsonrpc-http")]
 #[RpcService(name: "AdService", protocol: "jsonrpc-http", server: "jsonrpc-http")]
 class AdService implements AdServiceInterface
 class AdService implements AdServiceInterface
 {
 {
     /**
     /**
-     * @param string $name
-     * @param string $url
+     * @param array $data
      * @return string
      * @return string
      */
      */
-    public function createAd(string $name, string $url): array
+    public function createAd(array $data): array
     {
     {
-        if (empty($name)) {
-            return Result::error("name不能为空",0);
-        }
-        $result = Ad::query()->create([
-            'name' => $name,
-            'url' => $url,
-        ]);
+        $insertData = [
+            'name'=>$data['name']??'',
+            'pid'=>$data['pid']??0,
+            'areaid'=>$data['areaid']??0,
+            'amount'=>$data['amount']??0,//浏览数量
+            'introduce'=>$data['introduce']??'',
+            'hits'=>$data['hits']??0, //点击数量
+            'fromtime'=>$data['f_t_date'][0]??0,
+            'totime'=>$data['f_t_date'][1]??0,
+            'text_name'=>$data['text_name']??'',
+            'text_url'=>$data['text_url']??'',
+            'text_title'=>$data['text_title']??'',
+            'image_src'=>$data['image_src']??'',
+            'image_url'=>$data['image_url']??'',
+            'image_alt'=>$data['image_alt']??'',
+            'video_src'=>$data['video_src']??'',//视频
+            'video_url'=>$data['video_url']??'',
+            'video_auto'=>$data['video_auto'] ??0,
+            'video_loop'=>$data['video_loop'] ??0,
+            'status'=>$data['status']??2,
+            'remark'=>$data['remark']??'',
+        ];
+        $result = Ad::query()->insertGetId($insertData);
         if($result){
         if($result){
-            return Result::success($result->toArray());
+            return Result::success();
         }else{
         }else{
             return Result::error("创建广告失败",500);
             return Result::error("创建广告失败",500);
         }
         }
@@ -39,4 +55,141 @@ class AdService implements AdServiceInterface
         return Result::success($adInfo->toArray());
         return Result::success($adInfo->toArray());
     }
     }
 
 
+    public function getAdList(array $data): array
+    {
+        $where = [
+            ['ad.name','like','%'.$data['keyWord'].'%'],
+        ];
+        if(isset($data['pid'])){
+            $where[]=   ['ad.pid','=',$data['pid']];
+        }
+        $rep = Ad::where($where)
+            ->leftJoin("ad_place","ad.pid","ad_place.id")
+            ->select("ad.*","ad_place.name as place_name","ad_place.typeid")
+            ->limit($data['pageSize'])->orderBy("id","asc")->offset(($data['page']-1)*$data['pageSize'])->get();
+        $count =  Ad::where($where)->count();
+        $data = [
+            'rows'=>$rep->toArray(),
+            'count'=>$count
+        ];
+        if(empty($rep->toArray())){
+            return Result::error("没有数据");
+        }
+        return Result::success($data);
+    }
+
+    public function updateAd(array $data): array
+    {
+        $where = [
+            'id'=>$data['id']
+        ];
+        $insertData = [
+            'name'=>$data['name']??'',
+            'pid'=>$data['pid']??0,
+            'areaid'=>$data['areaid']??0,
+            'amount'=>$data['amount']??0,//浏览数量
+            'introduce'=>$data['introduce']??'',
+            'hits'=>$data['hits']??0, //点击数量
+            'fromtime'=>$data['f_t_date'][0]??0,
+            'totime'=>$data['f_t_date'][1]??0,
+            'text_name'=>$data['text_name']??'',
+            'text_url'=>$data['text_url']??'',
+            'text_title'=>$data['text_title']??'',
+            'image_src'=>$data['image_src']??'',
+            'image_url'=>$data['image_url']??'',
+            'image_alt'=>$data['image_alt']??'',
+            'video_src'=>$data['video_src']??'',//视频
+            'video_url'=>$data['video_url']??'',
+            'video_auto'=>isset($data['video_auto']) && empty($data['video_auto'])?0:$data['video_auto'],
+            'video_loop'=>isset($data['video_loop']) && empty($data['video_loop'])?0:$data['video_loop'],
+            'status'=>$data['status']??2,
+            'remark'=>$data['remark']??'',
+        ];
+        $result = Ad::where($where)->update($insertData);
+        if($result){
+            return Result::success($result);
+        }else{
+            return Result::error("更新失败");
+        }
+    }
+
+    public function delAd(array $data): array
+    {
+        $result = Ad::where($data)->delete();
+        if(!$result){
+            return Result::error("删除失败");
+        }
+        return Result::success($result);
+    }
+
+    public function getAdPlaceList(array $data): array
+    {
+        $where = [
+            ['name','like','%'.$data['keyWord'].'%'],
+        ];
+        if(isset($data['website_id'])){
+            $where[]=   ['website_id','=',$data['website_id']];
+        }
+        $rep = AdPlace::where($where)->limit($data['pageSize'])->orderBy("id","desc")->offset(($data['page']-1)*$data['pageSize'])->get();
+        $count =  AdPlace::where($where)->count();
+        $data = [
+            'rows'=>$rep->toArray(),
+            'count'=>$count
+        ];
+        if(empty($rep->toArray())){
+            return Result::error("没有数据");
+        }
+        return Result::success($data);
+    }
+
+    public function createAdPlace(array $data): array
+    {
+        unset($data['size']);
+        $result = AdPlace::query()->insertGetId($data);
+        if($result){
+            return Result::success();
+        }else{
+            return Result::error("创建广告位失败",500);
+        }
+    }
+
+    public function updateAdPlace(array $data): array
+    {
+        $where = [
+            'id'=>$data['id']
+        ];
+        $Insdata = [
+            'website_id'=>$data['website_id']??'',
+            'typeid'=>$data['typeid']??1,
+            'status'=>$data['status']??2,
+            'name'=>$data['name']??'',
+            'thumb'=>$data['thumb']??'',
+            'introduce'=>$data['introduce']??'',
+            'code'=>$data['code']??'',
+            'width'=>empty($data['width'])?0:$data['width'],
+            'height'=>empty($data['height'])?0:$data['height'],
+            'price'=>$data['price']??0,
+        ];
+        var_dump($Insdata);
+        $result = AdPlace::where($where)->update($Insdata);
+        if($result){
+            return Result::success($result);
+        }else{
+            return Result::error("更新失败");
+        }
+    }
+
+    public function delAdPlace(array $data): array
+    {
+        $adList = Ad::where(['pid'=>$data['id']])->get();
+        if($adList->toArray()){
+            return Result::error("广告位里面还有广告,不能删除广告位");
+        }
+        $result = AdPlace::where($data)->delete();
+        if(!$result){
+            return Result::error("删除失败");
+        }
+        return Result::success($result);
+    }
+
 }
 }

+ 45 - 3
app/JsonRpc/AdServiceInterface.php

@@ -4,15 +4,57 @@ namespace App\JsonRpc;
 interface AdServiceInterface
 interface AdServiceInterface
 {
 {
     /**
     /**
-     * @param string $name
-     * @param string $url
+     * @param array $data
      * @return string
      * @return string
      */
      */
-    public function createAd(string $name, string $url): array;
+    public function createAd(array $data): array;
+
+    /**
+     * @param array $data
+     * @return mixed
+     */
+    public function getAdList(array $data);
+
+    /**
+     * @param array $data
+     * @return mixed
+     */
+    public function updateAd(array $data);
+
+    /**
+     * @param array $data
+     * @return mixed
+     */
+    public function delAd(array $data);
 
 
     /**
     /**
      * @param int $id
      * @param int $id
      * @return array
      * @return array
      */
      */
     public function getAdInfo(int $id): array;
     public function getAdInfo(int $id): array;
+
+    /**
+     * @param array $data
+     * @return mixed
+     */
+    public function getAdPlaceList(array $data);
+
+    /**
+     * @param array $data
+     * @return mixed
+     */
+    public function createAdPlace(array $data);
+
+    /**
+     * @param array $data
+     * @return mixed
+     */
+    public function updateAdPlace(array $data);
+
+    /**
+     * @param array $data
+     * @return mixed
+     */
+    public function delAdPlace(array $data);
+
 }
 }

+ 1 - 1
app/Model/Ad.php

@@ -18,7 +18,7 @@ class Ad extends Model
     /**
     /**
      * The attributes that are mass assignable.
      * The attributes that are mass assignable.
      */
      */
-    protected array $fillable = ["name","url"];
+    protected array $fillable = [];
 
 
     /**
     /**
      * The attributes that should be cast to native types.
      * The attributes that should be cast to native types.

+ 27 - 0
app/Model/AdPlace.php

@@ -0,0 +1,27 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Model;
+
+use Hyperf\DbConnection\Model\Model;
+
+/**
+ */
+class AdPlace extends Model
+{
+    /**
+     * The table associated with the model.
+     */
+    protected ?string $table = 'ad_place';
+
+    /**
+     * The attributes that are mass assignable.
+     */
+    protected array $fillable = [];
+
+    /**
+     * The attributes that should be cast to native types.
+     */
+    protected array $casts = [];
+}

+ 27 - 0
app/Model/AdStats.php

@@ -0,0 +1,27 @@
+<?php
+
+declare(strict_types=1);
+
+namespace App\Model;
+
+use Hyperf\DbConnection\Model\Model;
+
+/**
+ */
+class AdStats extends Model
+{
+    /**
+     * The table associated with the model.
+     */
+    protected ?string $table = 'ad_stats';
+
+    /**
+     * The attributes that are mass assignable.
+     */
+    protected array $fillable = [];
+
+    /**
+     * The attributes that should be cast to native types.
+     */
+    protected array $casts = [];
+}

+ 6 - 6
app/Tools/Result.php

@@ -7285,16 +7285,16 @@
         },
         },
         {
         {
             "name": "hyperf/watcher",
             "name": "hyperf/watcher",
-            "version": "v3.1.21",
+            "version": "v3.1.27",
             "source": {
             "source": {
                 "type": "git",
                 "type": "git",
                 "url": "https://github.com/hyperf/watcher.git",
                 "url": "https://github.com/hyperf/watcher.git",
-                "reference": "e95490f91a95ec9c7f52255aba563f59fd9b396c"
+                "reference": "804dc0a796a10b0bdcda69fca390715dfbe905c9"
             },
             },
             "dist": {
             "dist": {
                 "type": "zip",
                 "type": "zip",
-                "url": "https://api.github.com/repos/hyperf/watcher/zipball/e95490f91a95ec9c7f52255aba563f59fd9b396c",
-                "reference": "e95490f91a95ec9c7f52255aba563f59fd9b396c",
+                "url": "https://api.github.com/repos/hyperf/watcher/zipball/804dc0a796a10b0bdcda69fca390715dfbe905c9",
+                "reference": "804dc0a796a10b0bdcda69fca390715dfbe905c9",
                 "shasum": ""
                 "shasum": ""
             },
             },
             "require": {
             "require": {
@@ -7335,7 +7335,7 @@
             ],
             ],
             "support": {
             "support": {
                 "issues": "https://github.com/hyperf/watcher/issues",
                 "issues": "https://github.com/hyperf/watcher/issues",
-                "source": "https://github.com/hyperf/watcher/tree/v3.1.21"
+                "source": "https://github.com/hyperf/watcher/tree/v3.1.27"
             },
             },
             "funding": [
             "funding": [
                 {
                 {
@@ -7347,7 +7347,7 @@
                     "type": "open_collective"
                     "type": "open_collective"
                 }
                 }
             ],
             ],
-            "time": "2024-05-09T13:40:44+00:00"
+            "time": "2024-06-17T01:51:06+00:00"
         },
         },
         {
         {
             "name": "mockery/mockery",
             "name": "mockery/mockery",

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
runtime/container/aspects.cache


Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 0 - 0
runtime/container/proxy/App_Controller_AbstractController.proxy.php


+ 1 - 1
runtime/hyperf.pid

@@ -1 +1 @@
-775
+87

+ 306 - 0
runtime/logs/hyperf.log

@@ -7,3 +7,309 @@
 [2024-06-06 17:11:20] sql.INFO: [31.77] insert into `ad` (`name`, `url`, `updated_at`, `created_at`) values ('cesh', '333', '2024-06-06 17:11:20', '2024-06-06 17:11:20') [] []
 [2024-06-06 17:11:20] sql.INFO: [31.77] insert into `ad` (`name`, `url`, `updated_at`, `created_at`) values ('cesh', '333', '2024-06-06 17:11:20', '2024-06-06 17:11:20') [] []
 [2024-06-06 17:12:17] sql.INFO: [24.72] insert into `ad` (`name`, `url`, `updated_at`, `created_at`) values ('cesh', '333', '2024-06-06 17:12:17', '2024-06-06 17:12:17') [] []
 [2024-06-06 17:12:17] sql.INFO: [24.72] insert into `ad` (`name`, `url`, `updated_at`, `created_at`) values ('cesh', '333', '2024-06-06 17:12:17', '2024-06-06 17:12:17') [] []
 [2024-06-06 17:12:18] sql.INFO: [30.9] insert into `ad` (`name`, `url`, `updated_at`, `created_at`) values ('cesh', '333', '2024-06-06 17:12:18', '2024-06-06 17:12:18') [] []
 [2024-06-06 17:12:18] sql.INFO: [30.9] insert into `ad` (`name`, `url`, `updated_at`, `created_at`) values ('cesh', '333', '2024-06-06 17:12:18', '2024-06-06 17:12:18') [] []
+[2024-07-04 01:17:11] sql.INFO: [31.7] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 01:17:11] sql.INFO: [3.63] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 01:35:25] sql.INFO: [39.69] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 01:35:25] sql.INFO: [2.29] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 01:38:12] sql.INFO: [25.81] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 01:38:12] sql.INFO: [1.44] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 01:47:34] sql.INFO: [359.26] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 01:47:34] sql.INFO: [2.69] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 01:55:57] sql.INFO: [49.56] insert into `ad_place` (`website_id`, `name`, `introduce`, `typeid`, `width`, `height`, `status`) values ('1', 'qweqwe', 'qwe', '2', '1', '1', '1') [] []
+[2024-07-04 01:56:32] sql.INFO: [124.41] insert into `ad_place` (`website_id`, `name`, `width`, `height`, `status`, `typeid`) values ('1', '1', '1', '1', '1', '2') [] []
+[2024-07-04 01:56:32] sql.INFO: [6.26] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 01:56:32] sql.INFO: [6.63] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 01:57:24] sql.INFO: [11.97] insert into `ad_place` (`website_id`, `name`, `thumb`, `introduce`, `typeid`, `width`, `height`, `price`, `status`) values ('1', 'afdg', 'http://192.168.31.193:9501/image/20240704/1720058234717205.jpg', 'jiehso', '2', '1', '2', '0', '1') [] []
+[2024-07-04 01:57:24] sql.INFO: [26.63] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 01:57:24] sql.INFO: [2.43] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:06:30] sql.INFO: [190.92] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:06:30] sql.INFO: [9.03] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:06:40] sql.INFO: [128.42] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:06:40] sql.INFO: [9.47] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:09:43] sql.INFO: [78.4] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:09:43] sql.INFO: [11.01] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:09:48] sql.INFO: [10.46] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:09:49] sql.INFO: [567.24] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:11:06] sql.INFO: [30.38] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:11:06] sql.INFO: [13.15] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:19:44] sql.INFO: [31.88] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:19:44] sql.INFO: [5.51] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:30:22] sql.INFO: [66] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:30:22] sql.INFO: [11.77] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:32:25] sql.INFO: [16.48] insert into `ad_place` (`website_id`, `name`, `thumb`, `introduce`, `typeid`, `width`, `height`, `price`, `status`) values ('1', '测试数据量一量', 'http://192.168.31.193:9501/image/20240704/1720060330124061.jpg', '介绍一下', '1', '333', '4444', '333', '2') [] []
+[2024-07-04 02:32:25] sql.INFO: [3.57] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:32:25] sql.INFO: [6.56] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:33:38] sql.INFO: [14.45] select * from `ad_place` where (`name` like '%测试数据%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:33:38] sql.INFO: [3.45] select count(*) as aggregate from `ad_place` where (`name` like '%测试数据%') [] []
+[2024-07-04 02:33:41] sql.INFO: [2.68] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:33:41] sql.INFO: [2.27] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:35:06] sql.INFO: [18.79] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:35:06] sql.INFO: [5.08] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:35:18] sql.INFO: [2.44] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:35:18] sql.INFO: [4.61] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:37:28] sql.INFO: [17.71] delete from `ad_place` where (`id` = '1') [] []
+[2024-07-04 02:37:28] sql.INFO: [9.06] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:37:28] sql.INFO: [2.8] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:46:18] sql.INFO: [29.21] select * from `ad` where (`pid` = '2') [] []
+[2024-07-04 02:46:18] sql.INFO: [11.43] delete from `ad_place` where (`id` = '2') [] []
+[2024-07-04 02:46:18] sql.INFO: [6.71] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:46:18] sql.INFO: [2.79] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:50:34] sql.INFO: [152.45] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:50:34] sql.INFO: [20.71] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 02:52:43] sql.INFO: [82.67] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 02:52:43] sql.INFO: [35.58] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:05:34] sql.INFO: [303.73] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:05:34] sql.INFO: [25.58] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:07:49] sql.INFO: [93.17] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:07:49] sql.INFO: [14.49] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:08:47] sql.INFO: [130.2] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:08:47] sql.INFO: [32.71] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:23:22] sql.INFO: [19.91] insert into `ad_place` (`website_id`, `name`, `thumb`, `introduce`, `typeid`, `price`, `status`) values ('1', '测试广澳信息暗室逢灯阿斯蒂芬', 'http://192.168.31.193:9501/image/20240704/1720063364683465.jpg', '11111111111111111111111111111111111111111111111111', '1', '55555555', '1') [] []
+[2024-07-04 03:23:22] sql.INFO: [3.1] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:23:22] sql.INFO: [2.44] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:23:50] sql.INFO: [82.37] insert into `ad_place` (`website_id`, `name`, `thumb`, `introduce`, `typeid`, `width`, `height`, `price`, `status`) values ('25', '测试阿萨德阿斯蒂芬阿萨德发发', 'http://192.168.31.193:9501/image/20240704/1720063418294166.jpg', '8888', '2', '1', '1', '0', '1') [] []
+[2024-07-04 03:23:50] sql.INFO: [2.1] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:23:50] sql.INFO: [6.04] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:24:08] sql.INFO: [117.75] select * from `ad` where (`pid` = '6') [] []
+[2024-07-04 03:24:08] sql.INFO: [8.63] delete from `ad_place` where (`id` = '6') [] []
+[2024-07-04 03:24:08] sql.INFO: [3.82] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:24:08] sql.INFO: [2.05] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:24:10] sql.INFO: [2.62] select * from `ad` where (`pid` = '5') [] []
+[2024-07-04 03:24:10] sql.INFO: [5.29] delete from `ad_place` where (`id` = '5') [] []
+[2024-07-04 03:24:10] sql.INFO: [1.73] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:24:10] sql.INFO: [3.66] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:33:56] sql.INFO: [30.68] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:33:56] sql.INFO: [2.69] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:35:07] sql.INFO: [9.88] update `ad_place` set `website_id` = '1', `typeid` = '1', `status` = '2', `name` = '测试数据量一量', `thumb` = 'http://192.168.31.193:9501/image/20240704/1720060330124061.jpg', `introduce` = '介绍一下', `code` = '', `width` = '333', `height` = '4444', `price` = '333', `ad_place`.`updated_at` = '2024-07-04 03:35:07' where (`id` = '4') [] []
+[2024-07-04 03:35:07] sql.INFO: [2.74] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:35:07] sql.INFO: [6.16] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:36:55] sql.INFO: [36.54] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:36:55] sql.INFO: [13.06] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 03:42:34] sql.INFO: [36.54] update `ad_place` set `website_id` = '1', `typeid` = '1', `status` = '2', `name` = '测试数据量一量', `thumb` = 'http://192.168.31.193:9501/image/20240704/1720060330124061.jpg', `introduce` = '介绍一下', `code` = '', `width` = '0', `height` = '0', `price` = '333', `ad_place`.`updated_at` = '2024-07-04 03:42:34' where (`id` = '4') [] []
+[2024-07-04 03:42:34] sql.INFO: [2.22] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 03:42:34] sql.INFO: [2.38] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:11:07] sql.INFO: [238.23] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:11:07] sql.INFO: [13.51] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:11:11] sql.INFO: [3.89] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:11:11] sql.INFO: [3.67] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:13:12] sql.INFO: [65.24] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:13:12] sql.INFO: [50.07] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:15:16] sql.INFO: [11.41] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:15:16] sql.INFO: [21.16] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:15:54] sql.INFO: [1.47] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:15:54] sql.INFO: [2.02] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:16:05] sql.INFO: [1.92] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:16:05] sql.INFO: [2.21] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:16:25] sql.INFO: [1.87] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:16:25] sql.INFO: [2.15] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:16:35] sql.INFO: [75.99] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:16:35] sql.INFO: [2.62] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:16:57] sql.INFO: [6.07] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:16:57] sql.INFO: [7.45] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:33:49] sql.INFO: [32.03] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:33:49] sql.INFO: [2.1] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:34:40] sql.INFO: [62.25] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:34:40] sql.INFO: [3.03] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:35:21] sql.INFO: [1.85] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:35:21] sql.INFO: [3.93] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:40:02] sql.INFO: [96.63] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:40:02] sql.INFO: [52.28] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:48:14] sql.INFO: [19.52] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:48:14] sql.INFO: [7.87] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:49:39] sql.INFO: [12.15] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:49:39] sql.INFO: [1.84] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:49:50] sql.INFO: [5.06] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:49:50] sql.INFO: [4.5] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:50:39] sql.INFO: [5.82] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:50:39] sql.INFO: [2.82] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:51:04] sql.INFO: [1.97] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:51:04] sql.INFO: [2.97] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:52:11] sql.INFO: [11.33] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:52:11] sql.INFO: [5.88] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:52:36] sql.INFO: [1.76] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:52:36] sql.INFO: [4.24] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:55:25] sql.INFO: [35.27] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:55:25] sql.INFO: [6.12] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 05:56:48] sql.INFO: [39.82] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 05:56:48] sql.INFO: [2.18] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 06:36:08] sql.INFO: [549.09] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 06:36:08] sql.INFO: [4.58] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 07:31:31] sql.INFO: [81.99] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 07:31:31] sql.INFO: [10.66] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 07:34:50] sql.INFO: [99.83] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 07:34:51] sql.INFO: [41.95] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 07:35:03] sql.INFO: [3.1] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%请求1%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 07:35:03] sql.INFO: [6.18] select count(*) as aggregate from `ad` where (`ad`.`name` like '%请求1%') [] []
+[2024-07-04 07:37:09] sql.INFO: [62.79] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 07:37:09] sql.INFO: [5.87] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 07:38:02] sql.INFO: [4.43] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 07:38:02] sql.INFO: [5.12] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 07:38:10] sql.INFO: [4.14] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 07:38:10] sql.INFO: [29.83] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 07:38:18] sql.INFO: [20.64] delete from `ad` where (`id` = '1') [] []
+[2024-07-04 07:38:18] sql.INFO: [9.2] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 07:38:18] sql.INFO: [2.53] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 07:40:21] sql.INFO: [18.39] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 07:40:21] sql.INFO: [2.66] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:42:39] sql.INFO: [196.96] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:42:39] sql.INFO: [6.21] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:46:51] sql.INFO: [24.14] insert into `ad` (`name`, `pid`, `typeid`, `areaid`, `amount`, `introduce`, `hits`, `fromtime`, `totime`, `text_name`, `text_url`, `text_title`, `image_src`, `image_url`, `image_alt`, `video_src`, `video_url`, `video_auto`, `video_loop`, `status`, `remark`) values ('1', '4', '1', '0', '0', '1', '0', '2024-07-08 00:00:00', '2024-08-14 00:00:00', '1', '1', '1', '', '', '', '', '', '0', '0', '2', '1') [] []
+[2024-07-04 08:50:45] sql.INFO: [18.45] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:50:45] sql.INFO: [5] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:51:04] sql.INFO: [7.01] insert into `ad` (`name`, `pid`, `typeid`, `areaid`, `amount`, `introduce`, `hits`, `fromtime`, `totime`, `text_name`, `text_url`, `text_title`, `image_src`, `image_url`, `image_alt`, `video_src`, `video_url`, `video_auto`, `video_loop`, `status`, `remark`) values ('111', '3', '2', '0', '0', '1', '0', '2024-07-18 00:00:00', '2024-08-15 00:00:00', '1', '1', '1', '', '', '', '', '', '0', '0', '1', '') [] []
+[2024-07-04 08:51:04] sql.INFO: [2.19] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:51:04] sql.INFO: [2.01] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:51:08] sql.INFO: [4.29] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:51:08] sql.INFO: [3.18] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:51:16] sql.INFO: [3.07] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 20 [] []
+[2024-07-04 08:51:16] sql.INFO: [4.34] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:52:06] sql.INFO: [2.52] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:52:06] sql.INFO: [21.65] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:53:20] sql.INFO: [27.9] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:53:20] sql.INFO: [1.84] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:53:36] sql.INFO: [17.69] insert into `ad` (`name`, `pid`, `areaid`, `amount`, `introduce`, `hits`, `fromtime`, `totime`, `text_name`, `text_url`, `text_title`, `image_src`, `image_url`, `image_alt`, `video_src`, `video_url`, `video_auto`, `video_loop`, `status`, `remark`) values ('1', '4', '0', '0', '1', '0', '2024-07-19 00:00:00', '2024-08-22 00:00:00', '1', '1', '1', '', '', '', '', '', '0', '0', '2', '1111') [] []
+[2024-07-04 08:53:36] sql.INFO: [9.31] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:53:36] sql.INFO: [5.22] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:53:39] sql.INFO: [5.46] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:53:39] sql.INFO: [4.25] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:53:45] sql.INFO: [3.32] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 10 [] []
+[2024-07-04 08:53:45] sql.INFO: [4.56] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:53:46] sql.INFO: [5.39] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 20 [] []
+[2024-07-04 08:53:46] sql.INFO: [12.36] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:54:24] sql.INFO: [22.12] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:54:24] sql.INFO: [10.64] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:54:30] sql.INFO: [5.87] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:54:30] sql.INFO: [4.17] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:55:00] sql.INFO: [4.74] insert into `ad` (`name`, `pid`, `areaid`, `amount`, `introduce`, `hits`, `fromtime`, `totime`, `text_name`, `text_url`, `text_title`, `image_src`, `image_url`, `image_alt`, `video_src`, `video_url`, `video_auto`, `video_loop`, `status`, `remark`) values ('图文广告', '3', '0', '0', '1', '0', '2024-07-18 00:00:00', '2024-08-12 00:00:00', '1', '1', '1', '', '', '', '', '', '0', '0', '1', '111') [] []
+[2024-07-04 08:55:00] sql.INFO: [4.49] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:55:00] sql.INFO: [2.51] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:55:01] sql.INFO: [4.51] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:55:01] sql.INFO: [4.37] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:55:12] sql.INFO: [2.54] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:55:12] sql.INFO: [4.59] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:55:20] sql.INFO: [8.51] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:55:20] sql.INFO: [3.78] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:56:22] sql.INFO: [10.65] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:56:22] sql.INFO: [5.93] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:57:05] sql.INFO: [1.74] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%' and `ad`.`pid` = '3') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:57:05] sql.INFO: [6.24] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%' and `ad`.`pid` = '3') [] []
+[2024-07-04 08:57:30] sql.INFO: [2.22] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:57:30] sql.INFO: [28.3] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:57:32] sql.INFO: [3.19] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:57:32] sql.INFO: [20.87] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:57:34] sql.INFO: [103.45] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:57:34] sql.INFO: [5.67] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:57:37] sql.INFO: [5.5] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%' and `ad`.`pid` = '4') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:57:37] sql.INFO: [5.37] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%' and `ad`.`pid` = '4') [] []
+[2024-07-04 08:57:41] sql.INFO: [3.08] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:57:41] sql.INFO: [5.59] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:57:42] sql.INFO: [8.56] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:57:43] sql.INFO: [126.13] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:57:43] sql.INFO: [3.12] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:57:43] sql.INFO: [126.96] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 08:57:56] sql.INFO: [23.24] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 08:57:56] sql.INFO: [7.87] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 08:57:59] sql.INFO: [7.94] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 08:57:59] sql.INFO: [11.72] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:01:02] sql.INFO: [100.49] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:01:02] sql.INFO: [2.36] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:03:34] sql.INFO: [62.65] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 09:03:34] sql.INFO: [6.03] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:07:42] sql.INFO: [25.61] insert into `ad` (`name`, `pid`, `areaid`, `amount`, `introduce`, `hits`, `fromtime`, `totime`, `text_name`, `text_url`, `text_title`, `image_src`, `image_url`, `image_alt`, `video_src`, `video_url`, `video_auto`, `video_loop`, `status`, `remark`) values ('11', '3', '0', '0', '11', '0', '2024-07-25 00:00:00', '2024-08-21 00:00:00', '', '', '', 'http://192.168.31.193:9501/image/20240704/172008405373300.jpg', '1', '222', '', '', '0', '0', '1', '2') [] []
+[2024-07-04 09:07:42] sql.INFO: [117.71] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 09:07:42] sql.INFO: [4.19] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:08:26] sql.INFO: [2.25] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:08:27] sql.INFO: [107.35] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:12:48] sql.INFO: [16.58] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 09:12:48] sql.INFO: [5.89] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:13:01] sql.INFO: [117.18] select * from `ad` where (`pid` = '3') [] []
+[2024-07-04 09:13:01] sql.INFO: [92] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 09:13:01] sql.INFO: [6.68] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:13:58] sql.INFO: [3.32] select * from `ad` where (`pid` = '3') [] []
+[2024-07-04 09:13:58] sql.INFO: [2.65] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 09:13:58] sql.INFO: [4.83] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:14:47] sql.INFO: [95.95] select * from `ad` where (`pid` = '3') [] []
+[2024-07-04 09:14:47] sql.INFO: [36.34] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 09:14:47] sql.INFO: [59.1] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:15:13] sql.INFO: [2.94] select * from `ad` where (`pid` = '3') [] []
+[2024-07-04 09:24:13] sql.INFO: [45.54] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 09:24:13] sql.INFO: [3.89] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:25:21] sql.INFO: [183.71] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:25:21] sql.INFO: [4.16] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:31:38] sql.INFO: [32.27] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:31:38] sql.INFO: [8.43] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:34:40] sql.INFO: [18.03] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:34:40] sql.INFO: [3.63] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:36:38] sql.INFO: [48.99] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:36:38] sql.INFO: [80.59] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:37:17] sql.INFO: [11.57] update `ad` set `name` = '图文广告', `pid` = '32', `areaid` = '0', `amount` = '0', `introduce` = '1', `hits` = '0', `fromtime` = '2024-07-18 00:00:00', `totime` = '2024-08-12 00:00:00', `text_name` = '1', `text_url` = '1', `text_title` = '1', `image_src` = 'http://192.168.31.193:9501/image/20240704/1720085834599076.jpg', `image_url` = '', `image_alt` = '', `video_src` = '', `video_url` = '', `video_auto` = '0', `video_loop` = '0', `status` = '1', `remark` = '111', `ad`.`updated_at` = '2024-07-04 09:37:17' where (`id` = '32') [] []
+[2024-07-04 09:37:17] sql.INFO: [4.92] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:37:17] sql.INFO: [8.34] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:38:43] sql.INFO: [144.94] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:38:43] sql.INFO: [8.57] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:39:38] sql.INFO: [209.72] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:39:38] sql.INFO: [26.41] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:39:54] sql.INFO: [98.21] update `ad` set `name` = '111', `pid` = '30', `areaid` = '0', `amount` = '0', `introduce` = '1', `hits` = '0', `fromtime` = '2024-07-18 00:00:00', `totime` = '2024-08-15 00:00:00', `text_name` = '1', `text_url` = '1', `text_title` = '1', `image_src` = 'http://192.168.31.193:9501/image/20240704/1720085992384760.jpg', `image_url` = '', `image_alt` = '', `video_src` = '', `video_url` = '', `video_auto` = '0', `video_loop` = '0', `status` = '1', `remark` = '', `ad`.`updated_at` = '2024-07-04 09:39:54' where (`id` = '30') [] []
+[2024-07-04 09:39:55] sql.INFO: [4.75] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:39:55] sql.INFO: [6.95] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:42:03] sql.INFO: [62.04] update `ad` set `name` = '1', `pid` = '4', `areaid` = '0', `amount` = '0', `introduce` = '1', `hits` = '0', `fromtime` = '2024-07-08 00:00:00', `totime` = '2024-08-14 00:00:00', `text_name` = '1', `text_url` = '1', `text_title` = '1', `image_src` = '', `image_url` = '', `image_alt` = '', `video_src` = '', `video_url` = '', `video_auto` = '0', `video_loop` = '0', `status` = '2', `remark` = '1', `ad`.`updated_at` = '2024-07-04 09:42:03' where (`id` = '29') [] []
+[2024-07-04 09:42:03] sql.INFO: [19.72] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:42:03] sql.INFO: [2.95] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:42:06] sql.INFO: [16.98] update `ad` set `name` = '111', `pid` = '3', `areaid` = '0', `amount` = '0', `introduce` = '1', `hits` = '0', `fromtime` = '2024-07-18 00:00:00', `totime` = '2024-08-15 00:00:00', `text_name` = '1', `text_url` = '1', `text_title` = '1', `image_src` = 'http://192.168.31.193:9501/image/20240704/1720085992384760.jpg', `image_url` = '', `image_alt` = '', `video_src` = '', `video_url` = '', `video_auto` = '0', `video_loop` = '0', `status` = '1', `remark` = '', `ad`.`updated_at` = '2024-07-04 09:42:06' where (`id` = '30') [] []
+[2024-07-04 09:42:06] sql.INFO: [8.31] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:42:06] sql.INFO: [7.5] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:42:09] sql.INFO: [167.86] update `ad` set `name` = '图文广告', `pid` = '3', `areaid` = '0', `amount` = '0', `introduce` = '1', `hits` = '0', `fromtime` = '2024-07-18 00:00:00', `totime` = '2024-08-12 00:00:00', `text_name` = '1', `text_url` = '1', `text_title` = '1', `image_src` = 'http://192.168.31.193:9501/image/20240704/1720085834599076.jpg', `image_url` = '', `image_alt` = '', `video_src` = '', `video_url` = '', `video_auto` = '0', `video_loop` = '0', `status` = '1', `remark` = '111', `ad`.`updated_at` = '2024-07-04 09:42:09' where (`id` = '32') [] []
+[2024-07-04 09:42:09] sql.INFO: [2.61] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:42:09] sql.INFO: [23.38] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:42:14] sql.INFO: [37.73] update `ad` set `name` = '1', `pid` = '4', `areaid` = '0', `amount` = '0', `introduce` = '1', `hits` = '0', `fromtime` = '2024-07-19 00:00:00', `totime` = '2024-08-22 00:00:00', `text_name` = '1', `text_url` = '1', `text_title` = '1', `image_src` = '', `image_url` = '', `image_alt` = '', `video_src` = '', `video_url` = '', `video_auto` = '0', `video_loop` = '0', `status` = '2', `remark` = '1111', `ad`.`updated_at` = '2024-07-04 09:42:14' where (`id` = '31') [] []
+[2024-07-04 09:42:15] sql.INFO: [2.98] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:42:15] sql.INFO: [70.92] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:42:20] sql.INFO: [17.58] update `ad` set `name` = '图文广告', `pid` = '3', `areaid` = '0', `amount` = '0', `introduce` = '1', `hits` = '0', `fromtime` = '2024-07-18 00:00:00', `totime` = '2024-08-12 00:00:00', `text_name` = '1', `text_url` = '1', `text_title` = '1', `image_src` = 'http://192.168.31.193:9501/image/20240704/1720085834599076.jpg', `image_url` = '', `image_alt` = '', `video_src` = '', `video_url` = '', `video_auto` = '0', `video_loop` = '0', `status` = '1', `remark` = '111', `ad`.`updated_at` = '2024-07-04 09:42:20' where (`id` = '32') [] []
+[2024-07-04 09:42:20] sql.INFO: [19.52] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:42:20] sql.INFO: [5.17] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:42:29] sql.INFO: [14.03] update `ad` set `name` = '11', `pid` = '3', `areaid` = '0', `amount` = '0', `introduce` = '11', `hits` = '0', `fromtime` = '2024-07-25 00:00:00', `totime` = '2024-08-21 00:00:00', `text_name` = '', `text_url` = '', `text_title` = '', `image_src` = 'http://192.168.31.193:9501/image/20240704/172008405373300.jpg', `image_url` = '1', `image_alt` = '222', `video_src` = '', `video_url` = '', `video_auto` = '0', `video_loop` = '0', `status` = '1', `remark` = '2', `ad`.`updated_at` = '2024-07-04 09:42:29' where (`id` = '33') [] []
+[2024-07-04 09:42:29] sql.INFO: [92.01] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:42:29] sql.INFO: [5.66] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:44:24] sql.INFO: [128.94] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:44:24] sql.INFO: [1.69] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 09:44:56] sql.INFO: [4.88] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 09:44:56] sql.INFO: [30.8] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:45:48] sql.INFO: [16.19] insert into `ad` (`name`, `pid`, `areaid`, `amount`, `introduce`, `hits`, `fromtime`, `totime`, `text_name`, `text_url`, `text_title`, `image_src`, `image_url`, `image_alt`, `video_src`, `video_url`, `video_auto`, `video_loop`, `status`, `remark`) values ('测试一个新的广告', '4', '0', '0', '测试一个新的广告', '0', '2024-07-04 00:00:00', '2024-08-15 00:00:00', '我不是一个广告', 'http://www.baidu.com', '集美', '', '', '', '', '', '0', '0', '1', '') [] []
+[2024-07-04 09:45:49] sql.INFO: [64.67] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 09:45:49] sql.INFO: [2.36] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-04 09:45:53] sql.INFO: [83.77] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 09:45:53] sql.INFO: [6.44] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 10:12:58] sql.INFO: [67.42] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 10:12:58] sql.INFO: [4.9] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 10:17:05] sql.INFO: [109.14] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-04 10:17:05] sql.INFO: [23.96] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-04 10:18:59] sql.INFO: [24.34] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-04 10:18:59] sql.INFO: [14.87] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-05 05:06:25] sql.INFO: [1101.52] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-05 05:06:26] sql.INFO: [51.7] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-19 07:02:57] sql.INFO: [42.06] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-19 07:02:57] sql.INFO: [7.34] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-19 07:03:59] sql.INFO: [28.14] insert into `ad_place` (`typeid`, `website_id`, `name`, `thumb`, `introduce`, `width`, `height`, `price`, `status`) values ('2', '1', '测试', 'http://192.168.1.193:9501/image/20240719/1721372612610258.jpg', '是是是是', '20', '30', '10', '1') [] []
+[2024-07-19 07:03:59] sql.INFO: [4.08] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-19 07:03:59] sql.INFO: [3.06] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-19 07:04:11] sql.INFO: [44.82] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%' and `ad`.`pid` = '7') order by `id` asc limit 10 offset 0 [] []
+[2024-07-19 07:04:11] sql.INFO: [16.58] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%' and `ad`.`pid` = '7') [] []
+[2024-07-19 07:04:14] sql.INFO: [2.19] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-19 07:04:14] sql.INFO: [10.94] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-19 07:05:47] sql.INFO: [32.26] insert into `ad` (`name`, `pid`, `areaid`, `amount`, `introduce`, `hits`, `fromtime`, `totime`, `text_name`, `text_url`, `text_title`, `image_src`, `image_url`, `image_alt`, `video_src`, `video_url`, `video_auto`, `video_loop`, `status`, `remark`) values ('111', '7', '0', '0', '111', '0', '2024-07-18 00:00:00', '2024-08-16 00:00:00', '', '', '', 'http://192.168.1.193:9501/image/20240719/1721372745714574.jpg', '1', '11', '', '', '0', '0', '1', '2222') [] []
+[2024-07-19 07:05:47] sql.INFO: [3.49] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-19 07:05:47] sql.INFO: [4.75] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-19 07:05:50] sql.INFO: [32.45] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%' and `ad`.`pid` = '7') order by `id` asc limit 10 offset 0 [] []
+[2024-07-19 07:05:50] sql.INFO: [2.06] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%' and `ad`.`pid` = '7') [] []
+[2024-07-19 07:06:02] sql.INFO: [9.02] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-19 07:06:02] sql.INFO: [14.45] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-19 07:06:05] sql.INFO: [2.94] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-19 07:06:05] sql.INFO: [11.11] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-19 09:47:52] sql.INFO: [27.64] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-19 09:47:52] sql.INFO: [7.77] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-19 09:48:01] sql.INFO: [2.88] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-19 09:48:01] sql.INFO: [2.99] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []
+[2024-07-19 09:48:02] sql.INFO: [45.85] select * from `ad_place` where (`name` like '%%') order by `id` desc limit 10 offset 0 [] []
+[2024-07-19 09:48:02] sql.INFO: [3.31] select count(*) as aggregate from `ad_place` where (`name` like '%%') [] []
+[2024-07-19 09:48:18] sql.INFO: [2.5] select `ad`.*, `ad_place`.`name` as `place_name`, `ad_place`.`typeid` from `ad` left join `ad_place` on `ad`.`pid` = `ad_place`.`id` where (`ad`.`name` like '%%') order by `id` asc limit 10 offset 0 [] []
+[2024-07-19 09:48:18] sql.INFO: [9.13] select count(*) as aggregate from `ad` where (`ad`.`name` like '%%') [] []

+ 4 - 2
vendor/composer/autoload_classmap.php

@@ -16,6 +16,8 @@ return array(
     'App\\Listener\\DbQueryExecutedListener' => $baseDir . '/app/Listener/DbQueryExecutedListener.php',
     'App\\Listener\\DbQueryExecutedListener' => $baseDir . '/app/Listener/DbQueryExecutedListener.php',
     'App\\Listener\\ResumeExitCoordinatorListener' => $baseDir . '/app/Listener/ResumeExitCoordinatorListener.php',
     'App\\Listener\\ResumeExitCoordinatorListener' => $baseDir . '/app/Listener/ResumeExitCoordinatorListener.php',
     'App\\Model\\Ad' => $baseDir . '/app/Model/Ad.php',
     'App\\Model\\Ad' => $baseDir . '/app/Model/Ad.php',
+    'App\\Model\\AdPlace' => $baseDir . '/app/Model/AdPlace.php',
+    'App\\Model\\AdStats' => $baseDir . '/app/Model/AdStats.php',
     'App\\Model\\Model' => $baseDir . '/app/Model/Model.php',
     'App\\Model\\Model' => $baseDir . '/app/Model/Model.php',
     'App\\Model\\User' => $baseDir . '/app/Model/User.php',
     'App\\Model\\User' => $baseDir . '/app/Model/User.php',
     'App\\Tools\\Result' => $baseDir . '/app/Tools/Result.php',
     'App\\Tools\\Result' => $baseDir . '/app/Tools/Result.php',
@@ -481,8 +483,8 @@ return array(
     'Hamcrest\\Type\\IsString' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsString.php',
     'Hamcrest\\Type\\IsString' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsString.php',
     'Hamcrest\\Util' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Util.php',
     'Hamcrest\\Util' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Util.php',
     'Hamcrest\\Xml\\HasXPath' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Xml/HasXPath.php',
     'Hamcrest\\Xml\\HasXPath' => $vendorDir . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Xml/HasXPath.php',
-    'vendor\\test\\Cases\\ExampleTest' => $baseDir . '/test/Cases/ExampleTest.php',
-    'vendor\\test\\HttpTestCase' => $baseDir . '/test/HttpTestCase.php',
+    'HyperfTest\\Cases\\ExampleTest' => $baseDir . '/test/Cases/ExampleTest.php',
+    'HyperfTest\\HttpTestCase' => $baseDir . '/test/HttpTestCase.php',
     'Hyperf\\Cache\\AnnotationManager' => $vendorDir . '/hyperf/cache/src/AnnotationManager.php',
     'Hyperf\\Cache\\AnnotationManager' => $vendorDir . '/hyperf/cache/src/AnnotationManager.php',
     'Hyperf\\Cache\\Annotation\\CacheAhead' => $vendorDir . '/hyperf/cache/src/Annotation/CacheAhead.php',
     'Hyperf\\Cache\\Annotation\\CacheAhead' => $vendorDir . '/hyperf/cache/src/Annotation/CacheAhead.php',
     'Hyperf\\Cache\\Annotation\\CacheEvict' => $vendorDir . '/hyperf/cache/src/Annotation/CacheEvict.php',
     'Hyperf\\Cache\\Annotation\\CacheEvict' => $vendorDir . '/hyperf/cache/src/Annotation/CacheEvict.php',

+ 4 - 2
vendor/composer/autoload_static.php

@@ -700,6 +700,8 @@ class ComposerStaticInit88f2a4d4a4e81dc7d415bcdf39930654
         'App\\Listener\\DbQueryExecutedListener' => __DIR__ . '/../..' . '/app/Listener/DbQueryExecutedListener.php',
         'App\\Listener\\DbQueryExecutedListener' => __DIR__ . '/../..' . '/app/Listener/DbQueryExecutedListener.php',
         'App\\Listener\\ResumeExitCoordinatorListener' => __DIR__ . '/../..' . '/app/Listener/ResumeExitCoordinatorListener.php',
         'App\\Listener\\ResumeExitCoordinatorListener' => __DIR__ . '/../..' . '/app/Listener/ResumeExitCoordinatorListener.php',
         'App\\Model\\Ad' => __DIR__ . '/../..' . '/app/Model/Ad.php',
         'App\\Model\\Ad' => __DIR__ . '/../..' . '/app/Model/Ad.php',
+        'App\\Model\\AdPlace' => __DIR__ . '/../..' . '/app/Model/AdPlace.php',
+        'App\\Model\\AdStats' => __DIR__ . '/../..' . '/app/Model/AdStats.php',
         'App\\Model\\Model' => __DIR__ . '/../..' . '/app/Model/Model.php',
         'App\\Model\\Model' => __DIR__ . '/../..' . '/app/Model/Model.php',
         'App\\Model\\User' => __DIR__ . '/../..' . '/app/Model/User.php',
         'App\\Model\\User' => __DIR__ . '/../..' . '/app/Model/User.php',
         'App\\Tools\\Result' => __DIR__ . '/../..' . '/app/Tools/Result.php',
         'App\\Tools\\Result' => __DIR__ . '/../..' . '/app/Tools/Result.php',
@@ -1165,8 +1167,8 @@ class ComposerStaticInit88f2a4d4a4e81dc7d415bcdf39930654
         'Hamcrest\\Type\\IsString' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsString.php',
         'Hamcrest\\Type\\IsString' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Type/IsString.php',
         'Hamcrest\\Util' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Util.php',
         'Hamcrest\\Util' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Util.php',
         'Hamcrest\\Xml\\HasXPath' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Xml/HasXPath.php',
         'Hamcrest\\Xml\\HasXPath' => __DIR__ . '/..' . '/hamcrest/hamcrest-php/hamcrest/Hamcrest/Xml/HasXPath.php',
-        'vendor\\test\\Cases\\ExampleTest' => __DIR__ . '/../..' . '/test/Cases/ExampleTest.php',
-        'vendor\\test\\HttpTestCase' => __DIR__ . '/../..' . '/test/HttpTestCase.php',
+        'HyperfTest\\Cases\\ExampleTest' => __DIR__ . '/../..' . '/test/Cases/ExampleTest.php',
+        'HyperfTest\\HttpTestCase' => __DIR__ . '/../..' . '/test/HttpTestCase.php',
         'Hyperf\\Cache\\AnnotationManager' => __DIR__ . '/..' . '/hyperf/cache/src/AnnotationManager.php',
         'Hyperf\\Cache\\AnnotationManager' => __DIR__ . '/..' . '/hyperf/cache/src/AnnotationManager.php',
         'Hyperf\\Cache\\Annotation\\CacheAhead' => __DIR__ . '/..' . '/hyperf/cache/src/Annotation/CacheAhead.php',
         'Hyperf\\Cache\\Annotation\\CacheAhead' => __DIR__ . '/..' . '/hyperf/cache/src/Annotation/CacheAhead.php',
         'Hyperf\\Cache\\Annotation\\CacheEvict' => __DIR__ . '/..' . '/hyperf/cache/src/Annotation/CacheEvict.php',
         'Hyperf\\Cache\\Annotation\\CacheEvict' => __DIR__ . '/..' . '/hyperf/cache/src/Annotation/CacheEvict.php',

+ 7 - 7
vendor/composer/installed.json

@@ -5102,17 +5102,17 @@
         },
         },
         {
         {
             "name": "hyperf/watcher",
             "name": "hyperf/watcher",
-            "version": "v3.1.21",
-            "version_normalized": "3.1.21.0",
+            "version": "v3.1.27",
+            "version_normalized": "3.1.27.0",
             "source": {
             "source": {
                 "type": "git",
                 "type": "git",
                 "url": "https://github.com/hyperf/watcher.git",
                 "url": "https://github.com/hyperf/watcher.git",
-                "reference": "e95490f91a95ec9c7f52255aba563f59fd9b396c"
+                "reference": "804dc0a796a10b0bdcda69fca390715dfbe905c9"
             },
             },
             "dist": {
             "dist": {
                 "type": "zip",
                 "type": "zip",
-                "url": "https://api.github.com/repos/hyperf/watcher/zipball/e95490f91a95ec9c7f52255aba563f59fd9b396c",
-                "reference": "e95490f91a95ec9c7f52255aba563f59fd9b396c",
+                "url": "https://api.github.com/repos/hyperf/watcher/zipball/804dc0a796a10b0bdcda69fca390715dfbe905c9",
+                "reference": "804dc0a796a10b0bdcda69fca390715dfbe905c9",
                 "shasum": ""
                 "shasum": ""
             },
             },
             "require": {
             "require": {
@@ -5124,7 +5124,7 @@
                 "hyperf/support": "~3.1.0",
                 "hyperf/support": "~3.1.0",
                 "php": ">=8.1"
                 "php": ">=8.1"
             },
             },
-            "time": "2024-05-09T13:40:44+00:00",
+            "time": "2024-06-17T01:51:06+00:00",
             "type": "library",
             "type": "library",
             "extra": {
             "extra": {
                 "branch-alias": {
                 "branch-alias": {
@@ -5155,7 +5155,7 @@
             ],
             ],
             "support": {
             "support": {
                 "issues": "https://github.com/hyperf/watcher/issues",
                 "issues": "https://github.com/hyperf/watcher/issues",
-                "source": "https://github.com/hyperf/watcher/tree/v3.1.21"
+                "source": "https://github.com/hyperf/watcher/tree/v3.1.27"
             },
             },
             "funding": [
             "funding": [
                 {
                 {

+ 3 - 3
vendor/composer/installed.php

@@ -662,9 +662,9 @@
             'dev_requirement' => false,
             'dev_requirement' => false,
         ),
         ),
         'hyperf/watcher' => array(
         'hyperf/watcher' => array(
-            'pretty_version' => 'v3.1.21',
-            'version' => '3.1.21.0',
-            'reference' => 'e95490f91a95ec9c7f52255aba563f59fd9b396c',
+            'pretty_version' => 'v3.1.27',
+            'version' => '3.1.27.0',
+            'reference' => '804dc0a796a10b0bdcda69fca390715dfbe905c9',
             'type' => 'library',
             'type' => 'library',
             'install_path' => __DIR__ . '/../hyperf/watcher',
             'install_path' => __DIR__ . '/../hyperf/watcher',
             'aliases' => array(),
             'aliases' => array(),

+ 6 - 6
vendor/friendsofphp/php-cs-fixer/CHANGELOG.md

@@ -1,13 +1,13 @@
 {
 {
     "name": "hyperf/watcher",
     "name": "hyperf/watcher",
-    "type": "library",
+    "description": "Hot reload watcher for Hyperf",
     "license": "MIT",
     "license": "MIT",
+    "type": "library",
     "keywords": [
     "keywords": [
         "dev",
         "dev",
         "php",
         "php",
         "hyperf"
         "hyperf"
     ],
     ],
-    "description": "Hot reload watcher for Hyperf",
     "require": {
     "require": {
         "php": ">=8.1",
         "php": ">=8.1",
         "ext-posix": "*",
         "ext-posix": "*",
@@ -18,12 +18,12 @@
         "hyperf/support": "~3.1.0"
         "hyperf/support": "~3.1.0"
     },
     },
     "autoload": {
     "autoload": {
-        "files": [
-            "src/Functions.php"
-        ],
         "psr-4": {
         "psr-4": {
             "Hyperf\\Watcher\\": "src/"
             "Hyperf\\Watcher\\": "src/"
-        }
+        },
+        "files": [
+            "src/Functions.php"
+        ]
     },
     },
     "autoload-dev": {
     "autoload-dev": {
         "psr-4": {
         "psr-4": {

+ 5 - 40
vendor/hyperf/watcher/src/Process.php

@@ -12,20 +12,20 @@ declare(strict_types=1);
 
 
 namespace Hyperf\Watcher;
 namespace Hyperf\Watcher;
 
 
-use Hyperf\Di\Annotation\AnnotationInterface;
 use Hyperf\Di\Annotation\AnnotationReader;
 use Hyperf\Di\Annotation\AnnotationReader;
 use Hyperf\Di\Annotation\AspectCollector;
 use Hyperf\Di\Annotation\AspectCollector;
 use Hyperf\Di\Annotation\ScanConfig;
 use Hyperf\Di\Annotation\ScanConfig;
+use Hyperf\Di\Annotation\Scanner;
 use Hyperf\Di\Aop\Ast;
 use Hyperf\Di\Aop\Ast;
 use Hyperf\Di\Aop\ProxyManager;
 use Hyperf\Di\Aop\ProxyManager;
 use Hyperf\Di\MetadataCollector;
 use Hyperf\Di\MetadataCollector;
 use Hyperf\Di\ReflectionManager;
 use Hyperf\Di\ReflectionManager;
+use Hyperf\Di\ScanHandler\NullScanHandler;
 use Hyperf\Support\Composer;
 use Hyperf\Support\Composer;
 use Hyperf\Support\Filesystem\Filesystem;
 use Hyperf\Support\Filesystem\Filesystem;
 use Hyperf\Watcher\Ast\Metadata;
 use Hyperf\Watcher\Ast\Metadata;
 use Hyperf\Watcher\Ast\RewriteClassNameVisitor;
 use Hyperf\Watcher\Ast\RewriteClassNameVisitor;
 use PhpParser\NodeTraverser;
 use PhpParser\NodeTraverser;
-use ReflectionClass;
 
 
 class Process
 class Process
 {
 {
@@ -72,7 +72,9 @@ class Process
         foreach ($collectors as $collector) {
         foreach ($collectors as $collector) {
             $collector::clear($class);
             $collector::clear($class);
         }
         }
-        $this->collect($class, $ref);
+
+        $scanner = new Scanner($this->config, new NullScanHandler());
+        $scanner->collect($this->reader, $ref);
 
 
         $collectors = $this->config->getCollectors();
         $collectors = $this->config->getCollectors();
         $data = [];
         $data = [];
@@ -93,43 +95,6 @@ class Process
         $this->putCache($this->path, serialize([$data, $proxies, $aspectClasses]));
         $this->putCache($this->path, serialize([$data, $proxies, $aspectClasses]));
     }
     }
 
 
-    public function collect($className, ReflectionClass $reflection)
-    {
-        // Parse class annotations
-        $classAnnotations = $this->reader->getClassAnnotations($reflection);
-        if (! empty($classAnnotations)) {
-            foreach ($classAnnotations as $classAnnotation) {
-                if ($classAnnotation instanceof AnnotationInterface) {
-                    $classAnnotation->collectClass($className);
-                }
-            }
-        }
-        // Parse properties annotations
-        $properties = $reflection->getProperties();
-        foreach ($properties as $property) {
-            $propertyAnnotations = $this->reader->getPropertyAnnotations($property);
-            if (! empty($propertyAnnotations)) {
-                foreach ($propertyAnnotations as $propertyAnnotation) {
-                    if ($propertyAnnotation instanceof AnnotationInterface) {
-                        $propertyAnnotation->collectProperty($className, $property->getName());
-                    }
-                }
-            }
-        }
-        // Parse methods annotations
-        $methods = $reflection->getMethods();
-        foreach ($methods as $method) {
-            $methodAnnotations = $this->reader->getMethodAnnotations($method);
-            if (! empty($methodAnnotations)) {
-                foreach ($methodAnnotations as $methodAnnotation) {
-                    if ($methodAnnotation instanceof AnnotationInterface) {
-                        $methodAnnotation->collectMethod($className, $method->getName());
-                    }
-                }
-            }
-        }
-    }
-
     protected function putCache($path, $data)
     protected function putCache($path, $data)
     {
     {
         if (! $this->filesystem->isDirectory($dir = dirname($path))) {
         if (! $this->filesystem->isDirectory($dir = dirname($path))) {

+ 0 - 0
vendor/nesbot/carbon/.phpstorm.meta.php


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä