From 5019e6c7ea5f1e17dcdcd2b0562a427daf539eb7 Mon Sep 17 00:00:00 2001 From: 侯瑞军 <411269194@kidgrow.com> Date: Wed, 31 Mar 2021 14:55:01 +0800 Subject: [PATCH] 修正由于没有更新预扣记录的时间,导致统计的剩余光片数量错误的问题。 --- kidgrow-web/kidgrow-web-manager/src/main/resources/static/module/apiUrl.js | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 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 3ec1084..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 +1,11 @@ -var my_api_server_url = 'http://192.168.2.240:8888/'; \ No newline at end of file + 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://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