SilentLittleCat 7 năm trước cách đây
mục cha
commit
37ce2e341e
3 tập tin đã thay đổi với 31 bổ sung56 xóa
  1. 28 54
      .idea/workspace.xml
  2. 1 2
      source/function/function_member.php
  3. 2 0
      uc_client/client.php

+ 28 - 54
.idea/workspace.xml

xqd xqd xqd xqd xqd xqd xqd
@@ -2,8 +2,8 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="deb87e12-87cf-4e37-bffe-bf7390933348" name="Default" comment="">
-      <change beforePath="$PROJECT_DIR$/source/class/discuz/discuz_admincp.php" afterPath="$PROJECT_DIR$/source/class/discuz/discuz_admincp.php" />
       <change beforePath="$PROJECT_DIR$/source/function/function_member.php" afterPath="$PROJECT_DIR$/source/function/function_member.php" />
+      <change beforePath="$PROJECT_DIR$/uc_client/client.php" afterPath="$PROJECT_DIR$/uc_client/client.php" />
     </list>
     <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
     <option name="TRACKING_ENABLED" value="true" />
@@ -37,47 +37,6 @@
           </provider>
         </entry>
       </file>
-      <file leaf-file-name="function_forum.php" pinned="false" current-in-tab="false">
-        <entry file="file://$PROJECT_DIR$/source/function/function_forum.php">
-          <provider selected="true" editor-type-id="text-editor">
-            <state relative-caret-position="26">
-              <caret line="707" column="9" lean-forward="false" selection-start-line="707" selection-start-column="9" selection-end-line="707" selection-end-column="9" />
-              <folding>
-                <marker date="1523670581543" expanded="true" signature="5803:5809" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="5809:5815" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="5815:5821" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6033:6039" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6039:6045" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6045:6051" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6260:6266" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6266:6272" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6311:6317" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6317:6323" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6327:6333" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6333:6339" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6377:6383" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="6383:6389" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="10826:10832" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="10832:10838" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="10838:10844" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11046:11052" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11052:11058" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11058:11064" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11273:11279" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11279:11285" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11324:11330" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11330:11336" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11340:11346" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11346:11352" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11390:11396" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="11396:11402" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="12371:12377" ph=" " />
-                <marker date="1523670581543" expanded="true" signature="40714:40723" ph="..." />
-              </folding>
-            </state>
-          </provider>
-        </entry>
-      </file>
       <file leaf-file-name="3_diy_group_group.tpl.php" pinned="false" current-in-tab="false">
         <entry file="file://$PROJECT_DIR$/data/template/3_diy_group_group.tpl.php">
           <provider selected="true" editor-type-id="text-editor">
@@ -144,12 +103,24 @@
         <entry file="file://$PROJECT_DIR$/source/function/function_member.php">
           <provider selected="true" editor-type-id="text-editor">
             <state relative-caret-position="522">
-              <caret line="106" column="15" lean-forward="false" selection-start-line="106" selection-start-column="15" selection-end-line="106" selection-end-column="15" />
+              <caret line="106" column="34" lean-forward="true" selection-start-line="106" selection-start-column="34" selection-end-line="106" selection-end-column="34" />
               <folding />
             </state>
           </provider>
         </entry>
       </file>
+      <file leaf-file-name="client.php" pinned="false" current-in-tab="false">
+        <entry file="file://$PROJECT_DIR$/uc_client/client.php">
+          <provider selected="true" editor-type-id="text-editor">
+            <state relative-caret-position="376">
+              <caret line="440" column="11" lean-forward="false" selection-start-line="440" selection-start-column="11" selection-end-line="440" selection-end-column="11" />
+              <folding>
+                <marker date="1525667577971" expanded="true" signature="20849:21493" ph="..." />
+              </folding>
+            </state>
+          </provider>
+        </entry>
+      </file>
     </leaf>
   </component>
   <component name="FindInProjectRecents">
@@ -214,6 +185,7 @@
         <option value="$PROJECT_DIR$/admin.php" />
         <option value="$PROJECT_DIR$/source/class/discuz/discuz_admincp.php" />
         <option value="$PROJECT_DIR$/source/function/function_member.php" />
+        <option value="$PROJECT_DIR$/uc_client/client.php" />
       </list>
     </option>
   </component>
@@ -321,12 +293,12 @@
       <workItem from="1525227575525" duration="11054000" />
       <workItem from="1525275777043" duration="4000" />
       <workItem from="1525612433789" duration="9986000" />
-      <workItem from="1525658293907" duration="6782000" />
+      <workItem from="1525658293907" duration="6851000" />
     </task>
     <servers />
   </component>
   <component name="TimeTrackingManager">
-    <option name="totallyTimeSpent" value="32656000" />
+    <option name="totallyTimeSpent" value="32725000" />
   </component>
   <component name="ToolWindowManager">
     <frame x="-9" y="-9" width="1938" height="1048" extended-state="7" />
@@ -364,14 +336,6 @@
     <watches-manager />
   </component>
   <component name="editorHistoryManager">
-    <entry file="file://$PROJECT_DIR$/config/config_ucenter.php">
-      <provider selected="true" editor-type-id="text-editor">
-        <state relative-caret-position="248">
-          <caret line="8" column="0" lean-forward="false" selection-start-line="8" selection-start-column="2" selection-end-line="9" selection-end-column="30" />
-          <folding />
-        </state>
-      </provider>
-    </entry>
     <entry file="file://$PROJECT_DIR$/data/template/3_diy_group_index.tpl.php">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="248">
@@ -813,10 +777,20 @@
         </state>
       </provider>
     </entry>
+    <entry file="file://$PROJECT_DIR$/uc_client/client.php">
+      <provider selected="true" editor-type-id="text-editor">
+        <state relative-caret-position="376">
+          <caret line="440" column="11" lean-forward="false" selection-start-line="440" selection-start-column="11" selection-end-line="440" selection-end-column="11" />
+          <folding>
+            <marker date="1525667577971" expanded="true" signature="20849:21493" ph="..." />
+          </folding>
+        </state>
+      </provider>
+    </entry>
     <entry file="file://$PROJECT_DIR$/source/function/function_member.php">
       <provider selected="true" editor-type-id="text-editor">
         <state relative-caret-position="522">
-          <caret line="106" column="15" lean-forward="false" selection-start-line="106" selection-start-column="15" selection-end-line="106" selection-end-column="15" />
+          <caret line="106" column="34" lean-forward="true" selection-start-line="106" selection-start-column="34" selection-end-line="106" selection-end-column="34" />
           <folding />
         </state>
       </provider>

+ 1 - 2
source/function/function_member.php

xqd
@@ -103,8 +103,7 @@ function logincheck($username) {
 	$return = 0;
 	$username = trim($username);
 	loaducenter();
-	if(function_exists('uc_user_logincheck')) {print_r('ok');
-        exit();
+	if(function_exists('uc_user_logincheck')) {
 		$return = uc_user_logincheck(addslashes($username), $_G['clientip']);
 	} else {
 		$login = C::t('common_failedlogin')->fetch_ip($_G['clientip']);

+ 2 - 0
uc_client/client.php

xqd
@@ -437,6 +437,8 @@ function uc_user_getcredit($appid, $uid, $credit) {
 
 
 function uc_user_logincheck($username, $ip) {
+    print_r(UC_API_FUNC);
+    exit();
 	return call_user_func(UC_API_FUNC, 'user', 'logincheck', array('username' => $username, 'ip' => $ip));
 }