|
@@ -1,6 +1,5 @@
|
|
package com.pj.api.consts;
|
|
package com.pj.api.consts;
|
|
|
|
|
|
-import com.pj.api.client.admin.AdminInterface;
|
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
|
@@ -22,14 +21,9 @@ public class FeignFactory {
|
|
public void setSpCfgInterface(SpCfgInterface spCfgInterface) {
|
|
public void setSpCfgInterface(SpCfgInterface spCfgInterface) {
|
|
FeignFactory.spCfgInterface = spCfgInterface;
|
|
FeignFactory.spCfgInterface = spCfgInterface;
|
|
}
|
|
}
|
|
-
|
|
|
|
-
|
|
|
|
- /**
|
|
|
|
- * 用户基本配置
|
|
|
|
- */
|
|
|
|
- public static AdminInterface adminInterface;
|
|
|
|
- @Autowired
|
|
|
|
- public static void setAdminInterface(AdminInterface adminInterface) {
|
|
|
|
- FeignFactory.adminInterface = adminInterface;
|
|
|
|
- }
|
|
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+
|
|
}
|
|
}
|