wupengfei 2 years ago
parent
commit
13e5025df3
2 changed files with 3 additions and 3 deletions
  1. 2 2
      .idea/workspace.xml
  2. 1 1
      application/api/common.php

+ 2 - 2
.idea/workspace.xml

@@ -3,7 +3,7 @@
   <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/common/model/UserLevelRank.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common/model/UserLevelRank.php" afterDir="false" />
+      <change beforePath="$PROJECT_DIR$/application/api/common.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/common.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -266,7 +266,7 @@
       <workItem from="1678928310721" duration="23741000" />
       <workItem from="1679014817602" duration="22183000" />
       <workItem from="1679287382176" duration="14525000" />
-      <workItem from="1679359715116" duration="6065000" />
+      <workItem from="1679359715116" duration="6186000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/api/common.php

@@ -120,7 +120,7 @@ function numTransform($num)
 {
     $cal = 10000;
     $num = intval($num);
-    if($num < $cal) return $num;
+    if($num < $cal) return strval($num);
     $cal_num = bcdiv($num,$cal,1);
     return $cal_num.'w+';
 }