Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/d7fe67930dc3957cfcb9018797021eddb558440a?style=split&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
4 additions and
3 deletions
@ -217,7 +217,7 @@
< label class = "col-sm-4 control-label" > 保密协议签订书:< / label >
< label class = "col-sm-4 control-label" > 保密协议签订书:< / label >
< div class = "col-sm-8" >
< div class = "col-sm-8" >
< span class = "btn btn-white btn-file" >
< span class = "btn btn-white btn-file" >
< span class = "fileinput-filename" > 文件下载< / span >
< span class = "fileinput-filename" onclick = "downloadFile()" > 文件下载< / span >
< input type = "hidden" id = "fileUrl" name = "confAgreement" th:field = "*{confAgreement}" >
< input type = "hidden" id = "fileUrl" name = "confAgreement" th:field = "*{confAgreement}" >
< / span >
< / span >
< span class = "fileinput-filename" > [[*{confName}]]< / span >
< span class = "fileinput-filename" > [[*{confName}]]< / span >
@ -251,8 +251,9 @@
< th:block th:include = "include :: select2-js" / >
< th:block th:include = "include :: select2-js" / >
< th:block th:include = "include :: datetimepicker-js" / >
< th:block th:include = "include :: datetimepicker-js" / >
< script type = "text/javascript" >
< script type = "text/javascript" >
function downloadFile(value){
function downloadFile(){
window.location.href = ctx + "common/download/resource?resource=" + value;
var fileUrl = $("#fileUrl").val();
window.location.href = ctx + "common/download/resource?resource=" + encodeURI(fileUrl) ;
}
}
var prefix = ctx + "system/user";
var prefix = ctx + "system/user";