@@ -125,16 +125,6 @@ public class VideoController extends BaseController { | |||||
} | } | ||||
} | } | ||||
/** | |||||
* 视频模板列表 | |||||
*/ | |||||
@AuthIgnore | |||||
@PostMapping("/avatarList") | |||||
@ApiOperation(value = "视频模板列表", notes = "{\"username\",\"string\",\"code\",\"string\"}") | |||||
public ResultData avatarList(@RequestBody Map<String, String> params){ | |||||
String username = params.get("username"); | |||||
return wxCVideoService.findByUserName(username); | |||||
} | |||||
} | } |
@@ -169,15 +169,5 @@ public class VoiceMouldController extends BaseController { | |||||
return new ResultData(voiceInfoService.voicePreview(aiPreviewParam)); | return new ResultData(voiceInfoService.voicePreview(aiPreviewParam)); | ||||
} | } | ||||
/** | |||||
* 音频模板列表 | |||||
*/ | |||||
@AuthIgnore | |||||
@PostMapping("/audioList") | |||||
@ApiOperation(value = "音频模板列表", notes = "{\"username\",\"string\",\"code\",\"string\"}") | |||||
public ResultData audioList(@RequestBody Map<String, String> params) { | |||||
String username = params.get("username"); | |||||
return wxCVoiceService.findByUserName(username); | |||||
} | |||||
} | } |
@@ -295,25 +295,7 @@ public class WxUserGrantController extends BaseController { | |||||
return wxMsgValidationcodeService.sendvalidationcode(wxMsgValidationcode); | 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); | |||||
} | |||||