chuweiqiang 1 year ago
parent
commit
c2accb0479
2 changed files with 4 additions and 12 deletions
  1. 2 10
      .idea/workspace.xml
  2. 2 2
      application/api/controller/Login.php

+ 2 - 10
.idea/workspace.xml

@@ -1,15 +1,7 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <project version="4">
   <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/operate/view/platform_demand/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/view/platform_demand/index.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/operate/view/recruit/index.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/view/recruit/index.html" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/config/power.php" beforeDir="false" afterPath="$PROJECT_DIR$/config/power.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" />
-      <change beforePath="$PROJECT_DIR$/runtime/temp/c55f71837cbd220093043995f94d1abb.php" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/temp/c55f71837cbd220093043995f94d1abb.php" afterDir="false" />
-    </list>
+    <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="" />
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
     <option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
@@ -510,7 +502,7 @@
       <workItem from="1703204881450" duration="14875000" />
       <workItem from="1703465059878" duration="246000" />
       <workItem from="1703466626395" duration="13542000" />
-      <workItem from="1703550840678" duration="7765000" />
+      <workItem from="1703550840678" duration="7784000" />
     </task>
     <servers />
   </component>

+ 2 - 2
application/api/controller/Login.php

@@ -53,8 +53,8 @@ class Login extends Base
             $check_code = $this->checkPhoneCode($account,$code,$phone_pre);
             if(!in_array($account,config('power.phone'))) {
                 // 上线需要去掉注释
-               // if(!$check_code) $this->exception('验证码错误');
-               // $this->updatePhoneCode($check_code);
+                if(!$check_code) $this->exception('验证码错误');
+                $this->updatePhoneCode($check_code);
             }
             $where = [];
             $where[] = $account_type == 1 ? ['email','=',$account] : ['phone','=',$account];