chuweiqiang 1 year ago
parent
commit
fb294162e1
4 changed files with 43 additions and 2 deletions
  1. 3 1
      .idea/workspace.xml
  2. 1 1
      application/api/controller/Recruit.php
  3. 23 0
      runtime/log/single.log
  4. 16 0
      runtime/log/single_sql.log

+ 3 - 1
.idea/workspace.xml

@@ -4,6 +4,8 @@
     <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/Recruit.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Recruit.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_sql.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single_sql.log" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -479,7 +481,7 @@
       <workItem from="1700440204810" duration="14773000" />
       <workItem from="1700526499424" duration="11662000" />
       <workItem from="1700613253175" duration="10732000" />
-      <workItem from="1700699350870" duration="3285000" />
+      <workItem from="1700699350870" duration="3648000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/controller/Recruit.php

@@ -128,7 +128,7 @@ class Recruit extends Base
             'type'=>$type,
         ]);
         $detail = \app\common\model\Recruit::field('id,phone,email,hr_code,principal,user_id')->where('id',input('post.recruit_id'))->find()->toArray();
-        UserMessage::sendUserMessage($detail['user_id'],'recruit',4,0,0,$Resume->id,'有人投递简历');
+        UserMessage::sendUserMessage($detail['user_id'],'recruit',4,0,0,$Resume->id,'有人投递简历',$Resume->id);
         $this->success('投递成功');
     }
 

+ 23 - 0
runtime/log/single.log

@@ -43700,3 +43700,26 @@
   7 => 'title',
   8 => 'pagehtml',
 ) ]
+---------------------------------------------------------------
+
+[2023-11-23T11:03:24+08:00] 127.0.0.1 POST gaoyx.com/api/Recruit/getFollowUpMessage
+[运行时间:2.157011s] [吞吐率:0.46req/s] [内存消耗:6,411.21kb] [文件加载: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.eyJ1aWQiOjQ3OSwiaXNzIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiYXVkIjoiaHR0cHM6XC9cL3phaW4uY29tIiwiaWF0IjoxNzAwNzAwNjk3LCJuYmYiOjE3MDA3MDA2OTcsImV4cCI6MTcwMjE0MDY5NywiZmFjaWxpdHlfY29kZSI6ImRtbDJiMVl5TVRFNFFUTXhNVEk9IiwibG9naW5fdHlwZSI6IjEifQ.5lzYUqWdfHPV9rjS6UPHBfgozBSAjzpQBLDqgC9LPC8',
+  'cache-control' => 'no-cache',
+  'user-agent' => 'PostmanRuntime-ApipostRuntime/1.1.0',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+)
+[ info ] [ DB ] INIT mysql

+ 16 - 0
runtime/log/single_sql.log

@@ -12732,3 +12732,19 @@
 [ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply_comment` WHERE  `forum_id` = 44  AND `reply_id` = 0  AND `is_deleted` < 2 [ RunTime:0.116592s ]
 [ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply_comment` WHERE  `forum_id` = 43  AND `reply_id` = 0  AND `is_deleted` < 2 [ RunTime:0.114188s ]
 [ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_forum_reply_comment` WHERE  `forum_id` = 42  AND `reply_id` = 0  AND `is_deleted` < 2 [ RunTime:0.115808s ]
+---------------------------------------------------------------
+
+[2023-11-23T11:03:24+08:00] 127.0.0.1 POST gaoyx.com/api/Recruit/getFollowUpMessage
+[ sql ] [ DB ] CONNECT:[ UseTime:0.171940s ] mysql:host=120.79.86.50;port=3306;dbname=gaoyixia_hdlkeji;charset=utf8mb4
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_store_member` [ RunTime:0.112901s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.112839s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_system_config` [ RunTime:0.113923s ]
+[ sql ] [ SQL ] SELECT `name`,`value` FROM `dd_system_config` [ RunTime:0.626546s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_store_member` WHERE  `id` = 479 LIMIT 1 [ RunTime:0.111176s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_user_message` [ RunTime:0.114598s ]
+[ sql ] [ SQL ] SELECT `m`.`id`,`m`.`create_at`,`m`.`is_read`,m.children_id recruit_id,`m`.`content` FROM `dd_user_message` `m` WHERE  `m`.`user_id` = 479  AND `m`.`is_deleted` = 0  AND `m`.`module` = 'recruit'  AND `m`.`type_id` IN ('4','5') ORDER BY `m`.`id` DESC LIMIT 0,20 [ RunTime:0.111300s ]
+[ sql ] [ SQL ] SHOW COLUMNS FROM `dd_recruit` [ RunTime:0.113574s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_recruit` WHERE  `id` = 0  AND `status` = 1  AND `is_deleted` = 0 LIMIT 1 [ RunTime:0.114671s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_recruit` WHERE  `id` = 0  AND `status` = 1  AND `is_deleted` = 0 LIMIT 1 [ RunTime:0.115592s ]
+[ sql ] [ SQL ] SELECT * FROM `dd_recruit` WHERE  `id` = 0  AND `status` = 1  AND `is_deleted` = 0 LIMIT 1 [ RunTime:0.108345s ]
+[ sql ] [ SQL ] SELECT COUNT(*) AS tp_count FROM `dd_user_message` `m` WHERE  `m`.`user_id` = 479  AND `m`.`is_deleted` = 0  AND `m`.`module` = 'recruit'  AND `m`.`type_id` = 5 [ RunTime:0.112883s ]