|
|
@@ -70,7 +70,7 @@
|
|
|
<script src="__JS__/layui/layui.js"></script>
|
|
|
<script src="__JS__/jquery.form.js"></script>
|
|
|
<script type="text/javascript">
|
|
|
- const myHost = "http://" + window.location.host;
|
|
|
+ const myHost = "https://" + window.location.host;
|
|
|
|
|
|
layui.use(['form', 'upload'], function(){
|
|
|
var form = layui.form;
|
|
|
@@ -88,7 +88,7 @@
|
|
|
layer.close(index);
|
|
|
if(1 == res.code){
|
|
|
layer.alert(res.msg, {title: '友情提示', icon: 1, closeBtn: 0}, function(){
|
|
|
- window.location.href = myHost + '/admin/Sensitivec/index';
|
|
|
+ window.location.href = '/admin/Sensitivec/index';
|
|
|
});
|
|
|
}else if(111 == res.code){
|
|
|
window.location.reload();
|