chuweiqiang 1 year ago
parent
commit
5e57a97943

+ 1 - 2
.idea/workspace.xml

@@ -3,7 +3,6 @@
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/api/controller/Activity.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Activity.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/application/common/model/TopSearch.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common/model/TopSearch.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/runtime/log/single.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single.log" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/runtime/log/single_error.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single_error.log" afterDir="false" />
@@ -545,7 +544,7 @@
       <workItem from="1708561640193" duration="7541000" />
       <workItem from="1708648032073" duration="23442000" />
       <workItem from="1708908058800" duration="19453000" />
-      <workItem from="1708994282917" duration="14442000" />
+      <workItem from="1708994282917" duration="14903000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/common/model/TopSearch.php

@@ -90,7 +90,7 @@ class TopSearch extends Model
 //                Press::where('id',$rel_id)->setInc('hot_num',$num);
                 Press::where('id',$rel_id)->update($arr);
                 break;
-            case "Porum":
+            case "Forum":
 //                UserForum::where('id',$rel_id)->setInc('hot_num',$num);
                 UserForum::where('id',$rel_id)->update($arr);
                 break;

+ 144 - 0
runtime/log/single.log

@@ -77783,3 +77783,147 @@
   'id' => '1',
 )
 [ info ] [ DB ] INIT mysql
+---------------------------------------------------------------
+
+[2024-02-27T16:21:00+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=722
+[运行时间:1.047022s] [吞吐率:0.96req/s] [内存消耗:6,202.55kb] [文件加载:165]
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/zh-cn.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/en-us.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\thinkphp\lang\zh-cn.php
+[ info ] [ ROUTE ] array (
+)
+[ info ] [ HEADER ] array (
+  'content-length' => '0',
+  'host' => 'gaoyx.com',
+  'connection' => 'keep-alive',
+  'accept-encoding' => 'gzip, deflate, br',
+  'accept' => '*/*',
+  'authorization' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjQ3OSwiaXNzIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiYXVkIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiaWF0IjoxNzA5MDIwNTM1LCJuYmYiOjE3MDkwMjA1MzUsImV4cCI6MTcyMzQyMDUzNSwiZmFjaWxpdHlfY29kZSI6ImRtbDJiMVl5TVRFNFFUTXhNVEk9IiwibG9naW5fdHlwZSI6IjEifQ.FsPbZLTSx53ZLFvPjv4gGkEvPe7f8o9xJJp4b4ii8RY',
+  'cache-control' => 'no-cache',
+  'user-agent' => 'PostmanRuntime-ApipostRuntime/1.1.0',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+  'id' => '722',
+)
+[ info ] [ DB ] INIT mysql
+---------------------------------------------------------------
+
+[2024-02-27T16:21:35+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[运行时间:1.620730s] [吞吐率:0.62req/s] [内存消耗:6,362.61kb] [文件加载:172]
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/zh-cn.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/en-us.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\thinkphp\lang\zh-cn.php
+[ info ] [ ROUTE ] array (
+)
+[ info ] [ HEADER ] array (
+  'content-length' => '0',
+  'host' => 'gaoyx.com',
+  'connection' => 'keep-alive',
+  'accept-encoding' => 'gzip, deflate, br',
+  'accept' => '*/*',
+  'authorization' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjQ3OSwiaXNzIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiYXVkIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiaWF0IjoxNzA5MDIwNTM1LCJuYmYiOjE3MDkwMjA1MzUsImV4cCI6MTcyMzQyMDUzNSwiZmFjaWxpdHlfY29kZSI6ImRtbDJiMVl5TVRFNFFUTXhNVEk9IiwibG9naW5fdHlwZSI6IjEifQ.FsPbZLTSx53ZLFvPjv4gGkEvPe7f8o9xJJp4b4ii8RY',
+  'cache-control' => 'no-cache',
+  'user-agent' => 'PostmanRuntime-ApipostRuntime/1.1.0',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+  'id' => '67',
+)
+[ info ] [ DB ] INIT mysql
+---------------------------------------------------------------
+
+[2024-02-27T16:23:01+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[运行时间:2.086865s] [吞吐率:0.48req/s] [内存消耗:6,281.45kb] [文件加载:167]
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/zh-cn.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/en-us.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\thinkphp\lang\zh-cn.php
+[ info ] [ ROUTE ] array (
+)
+[ info ] [ HEADER ] array (
+  'content-length' => '0',
+  'host' => 'gaoyx.com',
+  'connection' => 'keep-alive',
+  'accept-encoding' => 'gzip, deflate, br',
+  'accept' => '*/*',
+  'authorization' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjQ3OSwiaXNzIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiYXVkIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiaWF0IjoxNzA5MDIwNTM1LCJuYmYiOjE3MDkwMjA1MzUsImV4cCI6MTcyMzQyMDUzNSwiZmFjaWxpdHlfY29kZSI6ImRtbDJiMVl5TVRFNFFUTXhNVEk9IiwibG9naW5fdHlwZSI6IjEifQ.FsPbZLTSx53ZLFvPjv4gGkEvPe7f8o9xJJp4b4ii8RY',
+  'cache-control' => 'no-cache',
+  'user-agent' => 'PostmanRuntime-ApipostRuntime/1.1.0',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+  'id' => '67',
+)
+[ info ] [ DB ] INIT mysql
+---------------------------------------------------------------
+
+[2024-02-27T16:23:30+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[运行时间:1.642097s] [吞吐率:0.61req/s] [内存消耗:6,294.26kb] [文件加载:168]
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/zh-cn.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/en-us.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\thinkphp\lang\zh-cn.php
+[ info ] [ ROUTE ] array (
+)
+[ info ] [ HEADER ] array (
+  'content-length' => '0',
+  'host' => 'gaoyx.com',
+  'connection' => 'keep-alive',
+  'accept-encoding' => 'gzip, deflate, br',
+  'accept' => '*/*',
+  'authorization' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjQ3OSwiaXNzIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiYXVkIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiaWF0IjoxNzA5MDIwNTM1LCJuYmYiOjE3MDkwMjA1MzUsImV4cCI6MTcyMzQyMDUzNSwiZmFjaWxpdHlfY29kZSI6ImRtbDJiMVl5TVRFNFFUTXhNVEk9IiwibG9naW5fdHlwZSI6IjEifQ.FsPbZLTSx53ZLFvPjv4gGkEvPe7f8o9xJJp4b4ii8RY',
+  'cache-control' => 'no-cache',
+  'user-agent' => 'PostmanRuntime-ApipostRuntime/1.1.0',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+  'id' => '67',
+)
+[ info ] [ DB ] INIT mysql
+---------------------------------------------------------------
+
+[2024-02-27T16:23:51+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[运行时间:1.632454s] [吞吐率:0.61req/s] [内存消耗:6,289.77kb] [文件加载:167]
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/zh-cn.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/en-us.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\thinkphp\lang\zh-cn.php
+[ info ] [ ROUTE ] array (
+)
+[ info ] [ HEADER ] array (
+  'content-length' => '0',
+  'host' => 'gaoyx.com',
+  'connection' => 'keep-alive',
+  'accept-encoding' => 'gzip, deflate, br',
+  'accept' => '*/*',
+  'authorization' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjQ3OSwiaXNzIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiYXVkIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiaWF0IjoxNzA5MDIwNTM1LCJuYmYiOjE3MDkwMjA1MzUsImV4cCI6MTcyMzQyMDUzNSwiZmFjaWxpdHlfY29kZSI6ImRtbDJiMVl5TVRFNFFUTXhNVEk9IiwibG9naW5fdHlwZSI6IjEifQ.FsPbZLTSx53ZLFvPjv4gGkEvPe7f8o9xJJp4b4ii8RY',
+  'cache-control' => 'no-cache',
+  'user-agent' => 'PostmanRuntime-ApipostRuntime/1.1.0',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+  'id' => '67',
+)
+[ info ] [ DB ] INIT mysql
+---------------------------------------------------------------
+
+[2024-02-27T16:24:14+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[运行时间:2.036279s] [吞吐率:0.49req/s] [内存消耗:6,297.56kb] [文件加载:167]
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/zh-cn.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\vendor\zoujingli\think-library\src/lang/en-us.php
+[ info ] [ LANG ] D:\project\gyx\gaoyixia\thinkphp\lang\zh-cn.php
+[ info ] [ ROUTE ] array (
+)
+[ info ] [ HEADER ] array (
+  'content-length' => '0',
+  'host' => 'gaoyx.com',
+  'connection' => 'keep-alive',
+  'accept-encoding' => 'gzip, deflate, br',
+  'accept' => '*/*',
+  'authorization' => 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjQ3OSwiaXNzIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiYXVkIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiaWF0IjoxNzA5MDIwNTM1LCJuYmYiOjE3MDkwMjA1MzUsImV4cCI6MTcyMzQyMDUzNSwiZmFjaWxpdHlfY29kZSI6ImRtbDJiMVl5TVRFNFFUTXhNVEk9IiwibG9naW5fdHlwZSI6IjEifQ.FsPbZLTSx53ZLFvPjv4gGkEvPe7f8o9xJJp4b4ii8RY',
+  'cache-control' => 'no-cache',
+  'user-agent' => 'PostmanRuntime-ApipostRuntime/1.1.0',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+  'id' => '67',
+)
+[ info ] [ DB ] INIT mysql

+ 4 - 0
runtime/log/single_error.log

@@ -184,3 +184,7 @@
 
 [2024-02-27T16:10:24+08:00] 127.0.0.1 POST gaoyx.com/api/Recruit/getRecruitDetail?id=26
 [ error ] [8]Trying to access array offset on value of type null[D:\project\gyx\gaoyixia\application\common\model\TopSearch.php:71]
+---------------------------------------------------------------
+
+[2024-02-27T16:21:00+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=722
+[ error ] [0]致命错误: Call to a member function toArray() on null[D:\project\gyx\gaoyixia\application\api\controller\Forum.php:192]

+ 159 - 0
runtime/log/single_sql.log

@@ -20510,3 +20510,162 @@ JPush\\Exceptions\\APIRequestException -- [1011]: cannot find user by this audie
 [ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.050215s ]
 [ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_demand` [ RunTime:0.052428s ]
 [ sql ] [ SQL ] SELECT * FROM `dd_platform_demand` WHERE  `id` = 1 LIMIT 1 [ RunTime:0.053165s ]
+---------------------------------------------------------------
+
+[2024-02-27T16:21:00+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=722
+[ sql ] [ DB ] CONNECT:[ UseTime:0.087846s ] mysql:host=182.40.104.187;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_system_config` [ RunTime:0.058122s ]
+[ sql ] [ SQL ] SELECT `name`,`value` FROM `dd_system_config` [ RunTime:0.400449s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_store_member` [ RunTime:0.054771s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.055611s ]
+[ sql ] [ SQL ] SELECT `id`,`account_type`,`group_id`,`is_first`,`group_first` FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.054106s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_level_rank` [ RunTime:0.052030s ]
+[ sql ] [ SQL ] SELECT MAX(`level_id`) AS tp_max FROM `dd_user_level_rank` WHERE  `user_id` = 479  AND `end_time` > 1709022059 [ RunTime:0.077610s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_forum` [ RunTime:0.054162s ]
+[ sql ] [ SQL ] SELECT f.id,f.title,f.is_deleted,release_time,f.content,f.label,f.images,f.level,f.browse_num,f.status,is_read,f.create_at,u.name,u.headimg,IFNULL( (SELECT count(r.id) FROM dd_forum_reply as r WHERE f.id=r.forum_id  ),0 ) as reply_num FROM `dd_user_forum` `f` LEFT JOIN `dd_store_member` `u` ON `u`.`id`=`f`.`user_id` WHERE  `f`.`id` = '722' LIMIT 1 [ RunTime:0.069720s ]
+---------------------------------------------------------------
+
+[2024-02-27T16:21:35+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[ sql ] [ DB ] CONNECT:[ UseTime:0.058862s ] mysql:host=182.40.104.187;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_store_member` [ RunTime:0.033123s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.055963s ]
+[ sql ] [ SQL ] SELECT `id`,`account_type`,`group_id`,`is_first`,`group_first` FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.031499s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_level_rank` [ RunTime:0.055810s ]
+[ sql ] [ SQL ] SELECT MAX(`level_id`) AS tp_max FROM `dd_user_level_rank` WHERE  `user_id` = 479  AND `end_time` > 1709022094 [ RunTime:0.050727s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_forum` [ RunTime:0.031919s ]
+[ sql ] [ SQL ] SELECT f.id,f.title,f.is_deleted,release_time,f.content,f.label,f.images,f.level,f.browse_num,f.status,is_read,f.create_at,u.name,u.headimg,IFNULL( (SELECT count(r.id) FROM dd_forum_reply as r WHERE f.id=r.forum_id  ),0 ) as reply_num FROM `dd_user_forum` `f` LEFT JOIN `dd_store_member` `u` ON `u`.`id`=`f`.`user_id` WHERE  `f`.`id` = '67' LIMIT 1 [ RunTime:0.054684s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_collect` [ RunTime:0.030198s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_user_collect` WHERE  `user_id` = 479  AND `coll_type` = 5  AND `coll_id` = 67 LIMIT 1 [ RunTime:0.071800s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_switch` [ RunTime:0.030032s ]
+[ sql ] [ SQL ] SELECT `switch_value` FROM `dd_platform_switch` WHERE  `user_id` = 479  AND `switch_id` = 67  AND `type` = 1 LIMIT 1 [ RunTime:0.074275s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply_comment` [ RunTime:0.035679s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply_comment` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.072773s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply` [ RunTime:0.031201s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.074071s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_collect` WHERE  `coll_type` = 5  AND `coll_id` = 67 [ RunTime:0.052927s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_like` [ RunTime:0.032841s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_platform_like` WHERE  `user_id` = 479  AND `like_id` = 67  AND `type` = 10 LIMIT 1 [ RunTime:0.073035s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_platform_like` WHERE  `like_id` = 67  AND `type` = 10 [ RunTime:0.050438s ]
+[ sql ] [ SQL ] UPDATE `dd_user_forum`  SET `browse_num` = `browse_num` + 1  WHERE  `id` = 67 [ RunTime:0.037181s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_top_search` [ RunTime:0.053335s ]
+[ sql ] [ SQL ] UPDATE `dd_top_search`  SET `hot_num` = `hot_num` + 1  WHERE  `rel_id` = 67  AND `module` = 'Forum' [ RunTime:0.059452s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_top_search` WHERE  `rel_id` = 67  AND `module` = 'Forum' LIMIT 1 [ RunTime:0.055763s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.027073s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_label` [ RunTime:0.052577s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_user_label` WHERE  `user_id` = 479  AND `label` = '热搜测试' LIMIT 1 [ RunTime:0.052231s ]
+[ sql ] [ SQL ] UPDATE `dd_user_label`  SET `num` = `num` + 1  WHERE  `user_id` = 479  AND `label` = '热搜测试' [ RunTime:0.051078s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_track` [ RunTime:0.029362s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_user_track` WHERE  `user_id` = 479  AND `type` = 5  AND `first_id` = '67'  AND `second_id` = 0 LIMIT 1 [ RunTime:0.074469s ]
+[ sql ] [ SQL ] UPDATE `dd_user_track`  SET `user_id` = 479 , `type` = 5 , `first_id` = '67' , `second_id` = 0 , `create_at` = '2024-02-27 16:21:35' , `update_int` = 1709022095 , `year` = '2024' , `month` = '02' , `day` = '27' , `date` = '2024-02-27' , `track_time` = ''  WHERE  `user_id` = 479  AND `type` = 5  AND `first_id` = '67'  AND `second_id` = 0 [ RunTime:0.055866s ]
+---------------------------------------------------------------
+
+[2024-02-27T16:23:01+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[ sql ] [ DB ] CONNECT:[ UseTime:0.077365s ] mysql:host=182.40.104.187;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_system_config` [ RunTime:0.046992s ]
+[ sql ] [ SQL ] SELECT `name`,`value` FROM `dd_system_config` [ RunTime:0.358767s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_store_member` [ RunTime:0.048466s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.070406s ]
+[ sql ] [ SQL ] SELECT `id`,`account_type`,`group_id`,`is_first`,`group_first` FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.047207s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_level_rank` [ RunTime:0.071921s ]
+[ sql ] [ SQL ] SELECT MAX(`level_id`) AS tp_max FROM `dd_user_level_rank` WHERE  `user_id` = 479  AND `end_time` > 1709022180 [ RunTime:0.067530s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_forum` [ RunTime:0.048410s ]
+[ sql ] [ SQL ] SELECT f.id,f.title,f.is_deleted,release_time,f.content,f.label,f.images,f.level,f.browse_num,f.status,is_read,f.create_at,u.name,u.headimg,IFNULL( (SELECT count(r.id) FROM dd_forum_reply as r WHERE f.id=r.forum_id  ),0 ) as reply_num FROM `dd_user_forum` `f` LEFT JOIN `dd_store_member` `u` ON `u`.`id`=`f`.`user_id` WHERE  `f`.`id` = '67' LIMIT 1 [ RunTime:0.071911s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_collect` [ RunTime:0.049011s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_user_collect` WHERE  `user_id` = 479  AND `coll_type` = 5  AND `coll_id` = 67 LIMIT 1 [ RunTime:0.088329s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_switch` [ RunTime:0.056697s ]
+[ sql ] [ SQL ] SELECT `switch_value` FROM `dd_platform_switch` WHERE  `user_id` = 479  AND `switch_id` = 67  AND `type` = 1 LIMIT 1 [ RunTime:0.068643s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply_comment` [ RunTime:0.054259s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply_comment` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.059511s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply` [ RunTime:0.052838s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.070878s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_collect` WHERE  `coll_type` = 5  AND `coll_id` = 67 [ RunTime:0.067462s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_like` [ RunTime:0.047933s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_platform_like` WHERE  `user_id` = 479  AND `like_id` = 67  AND `type` = 10 LIMIT 1 [ RunTime:0.089155s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_platform_like` WHERE  `like_id` = 67  AND `type` = 10 [ RunTime:0.071639s ]
+[ sql ] [ SQL ] UPDATE `dd_user_forum`  SET `browse_num` = `browse_num` + 1  WHERE  `id` = 67 [ RunTime:0.049911s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_top_search` [ RunTime:0.067753s ]
+[ sql ] [ SQL ] UPDATE `dd_top_search`  SET `hot_num` = `hot_num` + 1  WHERE  `rel_id` = 67  AND `module` = 'Forum' [ RunTime:0.147832s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_top_search` WHERE  `rel_id` = 67  AND `module` = 'Forum' LIMIT 1 [ RunTime:0.065713s ]
+---------------------------------------------------------------
+
+[2024-02-27T16:23:30+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[ sql ] [ DB ] CONNECT:[ UseTime:0.071542s ] mysql:host=182.40.104.187;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_store_member` [ RunTime:0.049160s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.067978s ]
+[ sql ] [ SQL ] SELECT `id`,`account_type`,`group_id`,`is_first`,`group_first` FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.048152s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_level_rank` [ RunTime:0.070918s ]
+[ sql ] [ SQL ] SELECT MAX(`level_id`) AS tp_max FROM `dd_user_level_rank` WHERE  `user_id` = 479  AND `end_time` > 1709022209 [ RunTime:0.067257s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_forum` [ RunTime:0.044366s ]
+[ sql ] [ SQL ] SELECT f.id,f.title,f.is_deleted,release_time,f.content,f.label,f.images,f.level,f.browse_num,f.status,is_read,f.create_at,u.name,u.headimg,IFNULL( (SELECT count(r.id) FROM dd_forum_reply as r WHERE f.id=r.forum_id  ),0 ) as reply_num FROM `dd_user_forum` `f` LEFT JOIN `dd_store_member` `u` ON `u`.`id`=`f`.`user_id` WHERE  `f`.`id` = '67' LIMIT 1 [ RunTime:0.072438s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_collect` [ RunTime:0.046166s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_user_collect` WHERE  `user_id` = 479  AND `coll_type` = 5  AND `coll_id` = 67 LIMIT 1 [ RunTime:0.090940s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_switch` [ RunTime:0.047744s ]
+[ sql ] [ SQL ] SELECT `switch_value` FROM `dd_platform_switch` WHERE  `user_id` = 479  AND `switch_id` = 67  AND `type` = 1 LIMIT 1 [ RunTime:0.095801s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply_comment` [ RunTime:0.047473s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply_comment` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.090588s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply` [ RunTime:0.045368s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.090105s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_collect` WHERE  `coll_type` = 5  AND `coll_id` = 67 [ RunTime:0.068869s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_like` [ RunTime:0.046847s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_platform_like` WHERE  `user_id` = 479  AND `like_id` = 67  AND `type` = 10 LIMIT 1 [ RunTime:0.091003s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_platform_like` WHERE  `like_id` = 67  AND `type` = 10 [ RunTime:0.064236s ]
+[ sql ] [ SQL ] UPDATE `dd_user_forum`  SET `browse_num` = `browse_num` + 1  WHERE  `id` = 67 [ RunTime:0.049245s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_top_search` [ RunTime:0.070553s ]
+[ sql ] [ SQL ] UPDATE `dd_top_search`  SET `hot_num` = `hot_num` + 1  WHERE  `rel_id` = 67  AND `module` = 'Forum' [ RunTime:0.069388s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_top_search` WHERE  `rel_id` = 67  AND `module` = 'Forum' LIMIT 1 [ RunTime:0.068100s ]
+---------------------------------------------------------------
+
+[2024-02-27T16:23:51+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[ sql ] [ DB ] CONNECT:[ UseTime:0.072259s ] mysql:host=182.40.104.187;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_store_member` [ RunTime:0.048523s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.069049s ]
+[ sql ] [ SQL ] SELECT `id`,`account_type`,`group_id`,`is_first`,`group_first` FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.047353s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_level_rank` [ RunTime:0.073701s ]
+[ sql ] [ SQL ] SELECT MAX(`level_id`) AS tp_max FROM `dd_user_level_rank` WHERE  `user_id` = 479  AND `end_time` > 1709022230 [ RunTime:0.069355s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_forum` [ RunTime:0.051763s ]
+[ sql ] [ SQL ] SELECT f.id,f.title,f.is_deleted,release_time,f.content,f.label,f.images,f.level,f.browse_num,f.status,is_read,f.create_at,u.name,u.headimg,IFNULL( (SELECT count(r.id) FROM dd_forum_reply as r WHERE f.id=r.forum_id  ),0 ) as reply_num FROM `dd_user_forum` `f` LEFT JOIN `dd_store_member` `u` ON `u`.`id`=`f`.`user_id` WHERE  `f`.`id` = '67' LIMIT 1 [ RunTime:0.047155s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_collect` [ RunTime:0.070863s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_user_collect` WHERE  `user_id` = 479  AND `coll_type` = 5  AND `coll_id` = 67 LIMIT 1 [ RunTime:0.068580s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_switch` [ RunTime:0.051380s ]
+[ sql ] [ SQL ] SELECT `switch_value` FROM `dd_platform_switch` WHERE  `user_id` = 479  AND `switch_id` = 67  AND `type` = 1 LIMIT 1 [ RunTime:0.069469s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply_comment` [ RunTime:0.045678s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply_comment` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.089858s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply` [ RunTime:0.045969s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.088758s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_collect` WHERE  `coll_type` = 5  AND `coll_id` = 67 [ RunTime:0.071798s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_like` [ RunTime:0.044883s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_platform_like` WHERE  `user_id` = 479  AND `like_id` = 67  AND `type` = 10 LIMIT 1 [ RunTime:0.088264s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_platform_like` WHERE  `like_id` = 67  AND `type` = 10 [ RunTime:0.068772s ]
+[ sql ] [ SQL ] UPDATE `dd_user_forum`  SET `browse_num` = `browse_num` + 1  WHERE  `id` = 67 [ RunTime:0.065772s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_top_search` [ RunTime:0.049066s ]
+[ sql ] [ SQL ] UPDATE `dd_top_search`  SET `hot_num` = `hot_num` + 1  WHERE  `rel_id` = 67  AND `module` = 'Forum' [ RunTime:0.092098s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_top_search` WHERE  `rel_id` = 67  AND `module` = 'Forum' LIMIT 1 [ RunTime:0.075895s ]
+---------------------------------------------------------------
+
+[2024-02-27T16:24:14+08:00] 127.0.0.1 POST gaoyx.com/api/Forum/getForumInfo?id=67
+[ sql ] [ DB ] CONNECT:[ UseTime:0.073059s ] mysql:host=182.40.104.187;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_system_config` [ RunTime:0.047761s ]
+[ sql ] [ SQL ] SELECT `name`,`value` FROM `dd_system_config` [ RunTime:0.359848s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_store_member` [ RunTime:0.046009s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.065794s ]
+[ sql ] [ SQL ] SELECT `id`,`account_type`,`group_id`,`is_first`,`group_first` FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.046274s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_level_rank` [ RunTime:0.066977s ]
+[ sql ] [ SQL ] SELECT MAX(`level_id`) AS tp_max FROM `dd_user_level_rank` WHERE  `user_id` = 479  AND `end_time` > 1709022253 [ RunTime:0.066618s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_forum` [ RunTime:0.050519s ]
+[ sql ] [ SQL ] SELECT f.id,f.title,f.is_deleted,release_time,f.content,f.label,f.images,f.level,f.browse_num,f.status,is_read,f.create_at,u.name,u.headimg,IFNULL( (SELECT count(r.id) FROM dd_forum_reply as r WHERE f.id=r.forum_id  ),0 ) as reply_num FROM `dd_user_forum` `f` LEFT JOIN `dd_store_member` `u` ON `u`.`id`=`f`.`user_id` WHERE  `f`.`id` = '67' LIMIT 1 [ RunTime:0.067699s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_collect` [ RunTime:0.045886s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_user_collect` WHERE  `user_id` = 479  AND `coll_type` = 5  AND `coll_id` = 67 LIMIT 1 [ RunTime:0.089533s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_switch` [ RunTime:0.044593s ]
+[ sql ] [ SQL ] SELECT `switch_value` FROM `dd_platform_switch` WHERE  `user_id` = 479  AND `switch_id` = 67  AND `type` = 1 LIMIT 1 [ RunTime:0.095775s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply_comment` [ RunTime:0.043860s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply_comment` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.093346s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_forum_reply` [ RunTime:0.046333s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply` WHERE  `is_deleted` = 0  AND `forum_id` = 67 [ RunTime:0.091888s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_collect` WHERE  `coll_type` = 5  AND `coll_id` = 67 [ RunTime:0.070302s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_platform_like` [ RunTime:0.043871s ]
+[ sql ] [ SQL ] SELECT `id` FROM `dd_platform_like` WHERE  `user_id` = 479  AND `like_id` = 67  AND `type` = 10 LIMIT 1 [ RunTime:0.086940s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_platform_like` WHERE  `like_id` = 67  AND `type` = 10 [ RunTime:0.065466s ]
+[ sql ] [ SQL ] UPDATE `dd_user_forum`  SET `browse_num` = `browse_num` + 1  WHERE  `id` = 67 [ RunTime:0.048321s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_top_search` [ RunTime:0.066941s ]
+[ sql ] [ SQL ] UPDATE `dd_top_search`  SET `hot_num` = `hot_num` + 1  WHERE  `rel_id` = 67  AND `module` = 'Forum' [ RunTime:0.073080s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_top_search` WHERE  `rel_id` = 67  AND `module` = 'Forum' LIMIT 1 [ RunTime:0.068729s ]