Browse Source

条件商户禁用App登录功能

loovi 1 year ago
parent
commit
163215877a

+ 1 - 1
sp-core/sp-api/src/main/java/com/pj/api/client/admin/AdminInterface.java

@@ -21,7 +21,7 @@ public interface AdminInterface {
 	/** 启/停边民的app账号登陆限制 */
 	@RequestMapping("rpc/isLock")
 	int isLock(@RequestParam("id") String id,
-			   @RequestParam("type") Integer tupe,
+			   @RequestParam("type") Integer type,
 			   @RequestParam("status") Integer status);
 
 }

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

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

+ 1 - 1
sp-service/level-one-server/src/main/java/com/pj/tb_shop/TbShopController.java

@@ -16,7 +16,7 @@ import org.springframework.web.multipart.MultipartFile;
 
 
 /**
- * Controller: tb_shop -- 铺
+ * Controller: tb_shop -- 
  * @author qzy 
  */
 @RestController