|  |  | @@ -295,25 +295,7 @@ public class WxUserGrantController extends BaseController { | 
		
	
		
			
			|  |  |  | return wxMsgValidationcodeService.sendvalidationcode(wxMsgValidationcode); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | /** | 
		
	
		
			
			|  |  |  | * 资源权限查询 | 
		
	
		
			
			|  |  |  | * | 
		
	
		
			
			|  |  |  | */ | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | @AuthIgnore | 
		
	
		
			
			|  |  |  | @ApiOperation(value = "资源权限查询", notes = "{\"username\",\"string\",\"code\",\"string\",\"type\",\"int\",\"resource_id\",\"long\"}") | 
		
	
		
			
			|  |  |  | @PostMapping("/author") | 
		
	
		
			
			|  |  |  | public ResultData getAuthor(@RequestBody Map<String, String> params, HttpServletResponse response) { | 
		
	
		
			
			|  |  |  | String ipaddress = getIpAddr(); | 
		
	
		
			
			|  |  |  | logger.debug("[" + ipaddress + "] WxUserGrantController::getAuthor"); | 
		
	
		
			
			|  |  |  | String username = params.get("username"); | 
		
	
		
			
			|  |  |  | String code = params.get("code"); | 
		
	
		
			
			|  |  |  | Integer type = Integer.parseInt(params.get("type")); | 
		
	
		
			
			|  |  |  | Long resourceId = Long.valueOf(params.get("resource_id")); | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | return wxCUserAuthorityService.getAuthor(username,code,type,resourceId); | 
		
	
		
			
			|  |  |  | } | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | 
 | 
		
	
		
			
			|  |  |  | 
 | 
		
	
	
		
			
				|  |  | 
 |