From 9adebb75e04e8b0b369ebd318495cb683aa385b8 Mon Sep 17 00:00:00 2001 From: zhaoxiaohao <279049017@qq.com> Date: Mon, 26 Apr 2021 09:30:24 +0800 Subject: [PATCH] 添加手机号199的验证 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js | 11 +++++++++-- 1 files changed, 9 insertions(+), 2 deletions(-) diff --git a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js index 953b73e..9ad7741 100644 --- a/kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js +++ b/kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js @@ -1,4 +1,11 @@ -// var my_api_server_url = 'http://zuul.kidgrow.com/'; + var my_api_server_url = 'http://127.0.0.1:8888/'; // var my_api_server_url = 'http://192.168.2.240:8888/'; -var my_api_server_url = 'http://127.0.0.1:8888/'; +// var my_api_server_url = 'http://open.zuul.kidgrow.cloud/'; +// var my_api_server_url = 'https://zuul.kidgrow.cloud/'; +// var my_api_server_url = 'https://zuul.kidgrow.cloud/'; + +if(my_api_server_url.indexOf("http")<0) +{ + my_api_server_url=((nowUrl=window.location.href.indexOf("ttps://")>0))?"https://"+my_api_server_url:"http://"+my_api_server_url; +} -- Gitblit v1.8.0