chuweiqiang 11 månader sedan
förälder
incheckning
53b10a4667
3 ändrade filer med 86 tillägg och 2 borttagningar
  1. 3 2
      .idea/workspace.xml
  2. 3 0
      application/api/controller/UserCenter.php
  3. 80 0
      runtime/log/single.log

+ 3 - 2
.idea/workspace.xml

@@ -2,7 +2,8 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
-      <change beforePath="$PROJECT_DIR$/application/api/controller/Video.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Video.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/api/controller/UserCenter.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/UserCenter.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/runtime/log/single.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single.log" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
@@ -593,7 +594,7 @@
       <workItem from="1713313957989" duration="22457000" />
       <workItem from="1713400278236" duration="25153000" />
       <workItem from="1713486783613" duration="18361000" />
-      <workItem from="1713916802858" duration="16899000" />
+      <workItem from="1713916802858" duration="18611000" />
     </task>
     <servers />
   </component>

+ 3 - 0
application/api/controller/UserCenter.php

@@ -374,6 +374,9 @@ class UserCenter extends Base
     public function study(){
         $uid = $this->user_id;
         $data = input();
+        if(!isset($data['video_intro_id'])){
+            $this->success('ok1');
+        }
         $user = Db::name('store_member')->field('id,phone,email')->where('id',$uid)->find();
         // 设置时区为UTC,可以更改为其他时区
         date_default_timezone_set('UTC');

+ 80 - 0
runtime/log/single.log

@@ -73659,3 +73659,83 @@
   'cacheFileName' => '',
   'reload' => 'false',
 )
+---------------------------------------------------------------
+
+[2024-04-24T17:16:21+08:00] 127.0.0.1 GET gaoyx.com/apidoc/config
+[运行时间:0.026753s] [吞吐率:37.38req/s] [内存消耗:334.20kb] [文件加载:130]
+[ 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 (
+  'rule' => 'apidoc/config',
+  'route' => '\\hg\\apidoc\\Controller@getConfig',
+  'option' => 
+  array (
+    'merge_rule_regex' => false,
+  ),
+  'var' => 
+  array (
+  ),
+)
+[ info ] [ HEADER ] array (
+  'cookie' => 'PHPSESSID=dm3pu3g138khtocrb0pn2kd3f6; SECKEY_ABVK=5REnkKF3MDpo+lZPEvPfM+IyXv8Dfw7pI4ltf6PA9LmDalJDNf3rMkP6hCkuWdBPlJB4W+DxCVdNYB/S4dHmZg%3D%3D; BMAP_SECKEY=5REnkKF3MDpo-lZPEvPfM-IyXv8Dfw7pI4ltf6PA9LlANcbx9IOhKvrLOwd4fAugkFR8Rkd632n9votgZhSPaGb7ihHwUzZVwxCPvzWxTtURH2o_JYxcBeN7hUJ4Q45S4KwwiOsxI1RnuBoBR_Q_uzwlzQJX4bvV1ceCa0FpwScvboRddC7R4w6PsKg3qPLXPP-DBwInrcAFKlePIFX1Mw',
+  'accept-language' => 'zh-CN,zh;q=0.9',
+  'accept-encoding' => 'gzip, deflate, br, zstd',
+  'referer' => 'https://gaoyx.com/apidoc/?appKey=V1.0',
+  'sec-fetch-dest' => 'empty',
+  'sec-fetch-mode' => 'cors',
+  'sec-fetch-site' => 'same-origin',
+  'sec-ch-ua-platform' => '"Windows"',
+  'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36',
+  'sec-ch-ua-mobile' => '?0',
+  'accept' => 'application/json, text/plain, */*',
+  'sec-ch-ua' => '"Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"',
+  'connection' => 'keep-alive',
+  'host' => 'gaoyx.com',
+  'content-length' => '',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+)
+---------------------------------------------------------------
+
+[2024-04-24T17:16:21+08:00] 127.0.0.1 GET gaoyx.com/apidoc/data?appKey=V1.0&version=V1.0&cacheFileName=&reload=false
+[运行时间:0.172005s] [吞吐率:5.81req/s] [内存消耗:1,368.13kb] [文件加载:169]
+[ 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 (
+  'rule' => 'apidoc/data',
+  'route' => '\\hg\\apidoc\\Controller@getList',
+  'option' => 
+  array (
+    'merge_rule_regex' => false,
+  ),
+  'var' => 
+  array (
+  ),
+)
+[ info ] [ HEADER ] array (
+  'cookie' => 'PHPSESSID=dm3pu3g138khtocrb0pn2kd3f6; SECKEY_ABVK=5REnkKF3MDpo+lZPEvPfM+IyXv8Dfw7pI4ltf6PA9LmDalJDNf3rMkP6hCkuWdBPlJB4W+DxCVdNYB/S4dHmZg%3D%3D; BMAP_SECKEY=5REnkKF3MDpo-lZPEvPfM-IyXv8Dfw7pI4ltf6PA9LlANcbx9IOhKvrLOwd4fAugkFR8Rkd632n9votgZhSPaGb7ihHwUzZVwxCPvzWxTtURH2o_JYxcBeN7hUJ4Q45S4KwwiOsxI1RnuBoBR_Q_uzwlzQJX4bvV1ceCa0FpwScvboRddC7R4w6PsKg3qPLXPP-DBwInrcAFKlePIFX1Mw',
+  'accept-language' => 'zh-CN,zh;q=0.9',
+  'accept-encoding' => 'gzip, deflate, br, zstd',
+  'referer' => 'https://gaoyx.com/apidoc/?appKey=V1.0',
+  'sec-fetch-dest' => 'empty',
+  'sec-fetch-mode' => 'cors',
+  'sec-fetch-site' => 'same-origin',
+  'sec-ch-ua-platform' => '"Windows"',
+  'user-agent' => 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36',
+  'sec-ch-ua-mobile' => '?0',
+  'accept' => 'application/json, text/plain, */*',
+  'sec-ch-ua' => '"Google Chrome";v="123", "Not:A-Brand";v="8", "Chromium";v="123"',
+  'connection' => 'keep-alive',
+  'host' => 'gaoyx.com',
+  'content-length' => '',
+  'content-type' => '',
+)
+[ info ] [ PARAM ] array (
+  'appKey' => 'V1.0',
+  'version' => 'V1.0',
+  'cacheFileName' => '',
+  'reload' => 'false',
+)