浏览代码

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

Mechrevo 1 年之前
父节点
当前提交
c0bd9ab1b1
共有 1 个文件被更改,包括 11 次插入1 次删除
  1. 11 1
      sp-core/sp-api/src/main/java/com/pj/api/consts/FeignFactory.java

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