| 
					
				 | 
			
			
				@@ -1,6 +1,5 @@ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 package com.gree.mall.contest.controller.pc.common; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.google.common.collect.Lists; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.contest.annotation.ApiNotAuth; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.contest.constant.Constant; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.contest.exception.RemoteServiceException; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -10,7 +9,6 @@ import com.gree.mall.contest.logic.common.CommonLogic; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.contest.logic.common.WechatLogic; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.contest.plus.entity.AdminCompanyWechat; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.contest.plus.entity.CommonFile; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import com.gree.mall.contest.plus.entity.Region; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.contest.plus.service.AdminCompanyWechatService; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.contest.utils.CommonUtils; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import com.gree.mall.contest.utils.RedisUtil; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -29,7 +27,6 @@ import javax.servlet.http.HttpServletResponse; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import javax.validation.constraints.NotBlank; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.io.IOException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.io.UnsupportedEncodingException; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-import java.util.List; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.Map; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 import java.util.UUID; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -58,25 +55,25 @@ public class CommonController { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @ApiNotAuth 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @GetMapping("/region/list") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Operation(summary = "地区列表") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public ResponseHelper<List<Region>> regionList( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            @Parameter(description = "父id(第一级传0)",required = true) @RequestParam(required = true) String pid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ) throws RemoteServiceException { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        List<Region> list = commonLogic.queryRegionList(Lists.newArrayList(pid)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return ResponseHelper.success(list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @PostMapping("/region/list2") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    @Operation(summary = "地区列表2") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    public ResponseHelper<List<Region>> regionList( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            @RequestBody(required = true) List<String> pid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    ) throws RemoteServiceException { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        List<Region> list = commonLogic.queryRegionList(pid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        return ResponseHelper.success(list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    @ApiNotAuth 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    @GetMapping("/region/list") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    @Operation(summary = "地区列表") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    public ResponseHelper<List<Region>> regionList( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            @Parameter(description = "父id(第一级传0)",required = true) @RequestParam(required = true) String pid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    ) throws RemoteServiceException { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        List<Region> list = commonLogic.queryRegionList(Lists.newArrayList(pid)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        return ResponseHelper.success(list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+// 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    @PostMapping("/region/list2") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    @Operation(summary = "地区列表2") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    public ResponseHelper<List<Region>> regionList( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//            @RequestBody(required = true) List<String> pid 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    ) throws RemoteServiceException { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        List<Region> list = commonLogic.queryRegionList(pid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//        return ResponseHelper.success(list); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+//    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     @PostMapping("/companywechat/get") 
			 |