chuweiqiang 11 tháng trước cách đây
mục cha
commit
452478e2f4
2 tập tin đã thay đổi với 6 bổ sung7 xóa
  1. 1 7
      .idea/workspace.xml
  2. 5 0
      application/user/controller/Member.php

+ 1 - 7
.idea/workspace.xml

@@ -3,13 +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/operate/controller/Forum.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/operate/controller/Forum.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/application/user/controller/Member.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/user/controller/Member.php" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/user/view/member/form.html" beforeDir="false" afterPath="$PROJECT_DIR$/application/user/view/member/form.html" 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_error.log" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/log/single_error.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/baf92d53097175db56e7076689414354.php" beforeDir="false" afterPath="$PROJECT_DIR$/runtime/temp/baf92d53097175db56e7076689414354.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -604,7 +598,7 @@
       <workItem from="1714091498498" duration="11116000" />
       <workItem from="1714109915098" duration="14739000" />
       <workItem from="1714177835625" duration="26205000" />
-      <workItem from="1714351055428" duration="16100000" />
+      <workItem from="1714351055428" duration="16462000" />
     </task>
     <servers />
   </component>

+ 5 - 0
application/user/controller/Member.php

@@ -388,6 +388,11 @@ class Member extends Controller
                 if($check_group)$data['group_first']  = $check_group;
                 $data['bind_id'] = $data['id'];
                 $data['account_type'] = 1;
+            }else{
+                $data['is_first']  =1;
+                $data['group_first'] = 0;
+                $data['bind_id'] = 0;
+                $data['account_type'] = 2;
             }
         }
         //