From 6e48f0fdd56d10b78ce4ae9a49cab542b3354b55 Mon Sep 17 00:00:00 2001
From: houruijun <411269194@kidgrow.com>
Date: Tue, 27 Oct 2020 19:06:14 +0800
Subject: [PATCH] 增加自动判断域名是否 https并自动给接口增加请求前缀
---
kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/search/index_manager_form.html | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/search/index_manager_form.html b/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/search/index_manager_form.html
index 93e93a0..738dbdd 100644
--- a/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/search/index_manager_form.html
+++ b/kidgrow-web/kidgrow-web-hospital/src/main/resources/static/pages/search/index_manager_form.html
@@ -48,10 +48,10 @@
admin.req('api-search/admin/index', JSON.stringify(data.field), function (data) {
layer.closeAll('loading');
if (data.resp_code == 0) {
- layer.msg(data.resp_msg, {icon: 1, time: 500});
+ layer.msg(data.resp_msg, {icon: 1, time: 2000});
admin.finishPopupCenter();
} else {
- layer.msg(data.resp_msg, {icon: 2, time: 500});
+ layer.msg(data.resp_msg, {icon: 2, time: 2000});
}
}, "POST");
return false;
--
Gitblit v1.8.0