|
@@ -1,5 +1,6 @@
|
|
|
package com.pj.api.consts;
|
|
|
|
|
|
+import com.pj.api.client.admin.AdminInterface;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Component;
|
|
|
|
|
@@ -21,7 +22,16 @@ public class FeignFactory {
|
|
|
public void setSpCfgInterface(SpCfgInterface spCfgInterface) {
|
|
|
FeignFactory.spCfgInterface = spCfgInterface;
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
+ /**
|
|
|
+ * app用户 通信接口
|
|
|
+ */
|
|
|
+ public static AdminInterface adminInterface;
|
|
|
+ @Autowired
|
|
|
+ public void setAdminInterface(AdminInterface adminInterface){
|
|
|
+ FeignFactory.adminInterface = adminInterface;
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
|
|
|
|