wupengfei 2 lat temu
rodzic
commit
086bea475d
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1 1
      .idea/workspace.xml
  2. 1 0
      application/api/controller/UserCenter.php

+ 1 - 1
.idea/workspace.xml

@@ -211,7 +211,7 @@
       <workItem from="1672793834653" duration="24306000" />
       <workItem from="1672880479757" duration="22897000" />
       <workItem from="1672966192005" duration="19617000" />
-      <workItem from="1673052319155" duration="7124000" />
+      <workItem from="1673052319155" duration="8045000" />
     </task>
     <servers />
   </component>

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

@@ -315,6 +315,7 @@ class UserCenter extends Base
         $date_arr = explode('-',$date_str);
         $where = [];
         $where['user_id'] = $this->user_id;
+        $where['type'] = input('get.type');
         if(isset($date_arr[0])) $where['year'] =$date_arr[0];
         if(isset($date_arr[1])) $where['month'] =$date_arr[1];
         if(isset($date_arr[2])) $where['day'] =$date_arr[2];