wupengfei 2 年之前
父節點
當前提交
4bd27af884
共有 2 個文件被更改,包括 2 次插入3 次删除
  1. 1 2
      .idea/workspace.xml
  2. 1 1
      application/common.php

+ 1 - 2
.idea/workspace.xml

@@ -3,7 +3,6 @@
   <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/api/controller/Login.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Login.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/application/common.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/common.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
@@ -179,7 +178,7 @@
       <workItem from="1668041658444" duration="593000" />
       <workItem from="1668042326649" duration="24523000" />
       <workItem from="1668212914124" duration="17446000" />
-      <workItem from="1668387546036" duration="8112000" />
+      <workItem from="1668387546036" duration="8132000" />
     </task>
     <servers />
   </component>

+ 1 - 1
application/common.php

@@ -297,7 +297,7 @@ function get32Str($length='32'){
     if(!isset($hx_account['entities'][0]['uuid'])){
         return false;
     }
-    Db::name('store_member')->where('id',$username)->update(array('hx_username'=>$param['username'],'hx_password'=>$password,'hx_uuid'=>$hx_account['entities'][0]['uuid']));
+    Db::name('store_member')->where('id',$username)->update(array('hx_username'=>$param['username'],'hx_password'=>$param['password'],'hx_uuid'=>$hx_account['entities'][0]['uuid']));
     return true;
 }
 function requestPost($url , $post_data = array() ){