Răsfoiți Sursa

7.25 一级电子市场 - 注册 - 登录 - 忘记密码

Mechrevo 1 an în urmă
părinte
comite
c0bd9ab1b1

+ 11 - 1
sp-core/sp-api/src/main/java/com/pj/api/consts/FeignFactory.java

@@ -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;
+	}
+