修复新页面授权页面无法下载的问题。webui依然会进行持续重构

This commit is contained in:
wusheng 2016-04-10 15:56:12 +08:00
parent 4e3b7cab10
commit 1b349b7f60
3 changed files with 3 additions and 2 deletions

View File

@ -43,7 +43,7 @@ public class AuthFileController extends BaseController {
return "usr/authfile/download";
}
@RequestMapping("/download/{applicationId}")
@RequestMapping("/download/{applicationCode}")
public void exportApplicationAuthFile(HttpServletRequest request, HttpServletResponse response,
@PathVariable("applicationCode") String applicationCode, String authType) throws Exception {
if (StringUtil.isBlank(applicationCode)) {

View File

@ -0,0 +1 @@
* 用于下载文件的暂存

View File

@ -83,7 +83,7 @@
var form = $("<form>");
form.attr("style", "display:none");
form.attr("method", "post");
form.attr("action", "${base}/usr/applications/authfile/download/" + applicationId);
form.attr("action", "${_base}/usr/applications/authfile/download/" + applicationId);
var exportData = $("<input>");
exportData.attr("type", "hidden");
exportData.attr("name", "exportData");