wupengfei 1 year ago
parent
commit
f8e1fe17b7
2 changed files with 21 additions and 10 deletions
  1. 10 10
      .idea/workspace.xml
  2. 11 0
      vendor/alipaysdk/easysdk/autoload.php

+ 10 - 10
.idea/workspace.xml

@@ -2,8 +2,8 @@
 <project version="4">
   <component name="ChangeListManager">
     <list default="true" id="1a36929e-c054-4875-a943-593a74e55fa4" name="Default Changelist" comment="">
+      <change afterPath="$PROJECT_DIR$/vendor/alipaysdk/easysdk/autoload.php" afterDir="false" />
       <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
-      <change beforePath="$PROJECT_DIR$/application/api/controller/Alipay.php" beforeDir="false" afterPath="$PROJECT_DIR$/application/api/controller/Alipay.php" afterDir="false" />
     </list>
     <option name="SHOW_DIALOG" value="false" />
     <option name="HIGHLIGHT_CONFLICTS" value="true" />
@@ -138,7 +138,7 @@
     <property name="WebServerToolWindowPanel.toolwindow.show.date" value="false" />
     <property name="WebServerToolWindowPanel.toolwindow.show.permissions" value="false" />
     <property name="WebServerToolWindowPanel.toolwindow.show.size" value="false" />
-    <property name="last_opened_file_path" value="$PROJECT_DIR$/../gujiafuwu_admin" />
+    <property name="last_opened_file_path" value="$PROJECT_DIR$/vendor/alipaysdk/easysdk" />
     <property name="node.js.detected.package.eslint" value="true" />
     <property name="node.js.detected.package.tslint" value="true" />
     <property name="node.js.path.for.package.eslint" value="project" />
@@ -149,19 +149,19 @@
     <property name="two.files.diff.last.used.folder" value="$PROJECT_DIR$" />
   </component>
   <component name="RecentsManager">
-    <key name="CopyFile.RECENT_KEYS">
-      <recent name="D:\zs\gaoyixia\application\operate\view" />
-      <recent name="D:\zs\gaoyixia\application\operate\controller" />
-      <recent name="D:\zs\gaoyixia\application\user\view" />
-      <recent name="D:\zs\gaoyixia\application\user\controller" />
-      <recent name="D:\zs\gaoyixia\application\user\view\member" />
-    </key>
     <key name="MoveFile.RECENT_KEYS">
       <recent name="D:\zs\gaoyixia\public" />
       <recent name="D:\zs\gaoyixia\public\wx_cert" />
       <recent name="D:\zs\gaoyixia\public\a" />
       <recent name="D:\zs\gaoyixia\application\api\controller" />
     </key>
+    <key name="CopyFile.RECENT_KEYS">
+      <recent name="D:\zs\gaoyixia\vendor\alipaysdk\easysdk" />
+      <recent name="D:\zs\gaoyixia\application\operate\view" />
+      <recent name="D:\zs\gaoyixia\application\operate\controller" />
+      <recent name="D:\zs\gaoyixia\application\user\view" />
+      <recent name="D:\zs\gaoyixia\application\user\controller" />
+    </key>
   </component>
   <component name="SvnConfiguration">
     <configuration />
@@ -376,7 +376,7 @@
       <workItem from="1689641487273" duration="19876000" />
       <workItem from="1689728218007" duration="5405000" />
       <workItem from="1689813742376" duration="13449000" />
-      <workItem from="1689900489647" duration="17886000" />
+      <workItem from="1689900489647" duration="18163000" />
     </task>
     <servers />
   </component>

+ 11 - 0
vendor/alipaysdk/easysdk/autoload.php

@@ -0,0 +1,11 @@
+<?php
+
+function classLoader($class)
+{
+    $path = str_replace('\\', DIRECTORY_SEPARATOR, $class);
+    $file = __DIR__ . DIRECTORY_SEPARATOR .'src'. DIRECTORY_SEPARATOR . $path . '.php';
+    if (file_exists($file)) {
+        require_once $file;
+    }
+}
+spl_autoload_register('classLoader');