From 54708e56807115ab341dc96539e6fdd7dfbdd2b7 Mon Sep 17 00:00:00 2001 From: zhengpengju Date: Wed, 20 May 2020 17:12:33 +0800 Subject: [PATCH] fix Former-commit-id: 452a14421677362c9103b6530d9e1d28206082c4 --- projects/WebMVC/wwwroot/README.md | 1 - projects/WebMVC/wwwroot/index.html | 45 +++++------------------------ projects/WebMVC/wwwroot/loading.svg | 17 ----------- projects/WebMVC/wwwroot/redirect.js | 29 ------------------- 4 files changed, 8 insertions(+), 84 deletions(-) delete mode 100644 projects/WebMVC/wwwroot/README.md delete mode 100644 projects/WebMVC/wwwroot/loading.svg delete mode 100644 projects/WebMVC/wwwroot/redirect.js diff --git a/projects/WebMVC/wwwroot/README.md b/projects/WebMVC/wwwroot/README.md deleted file mode 100644 index cd85ffa1..00000000 --- a/projects/WebMVC/wwwroot/README.md +++ /dev/null @@ -1 +0,0 @@ -当前目录源代码已经迁移到Mobile目录,当前目录只作为Mobile/dist的目标地址运行移动应用 \ No newline at end of file diff --git a/projects/WebMVC/wwwroot/index.html b/projects/WebMVC/wwwroot/index.html index 29d03de4..1258669c 100644 --- a/projects/WebMVC/wwwroot/index.html +++ b/projects/WebMVC/wwwroot/index.html @@ -1,41 +1,12 @@ - + - - - - - -杞藉叆涓... - + + - - + + - - \ No newline at end of file + diff --git a/projects/WebMVC/wwwroot/loading.svg b/projects/WebMVC/wwwroot/loading.svg deleted file mode 100644 index 86d34bc1..00000000 --- a/projects/WebMVC/wwwroot/loading.svg +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/projects/WebMVC/wwwroot/redirect.js b/projects/WebMVC/wwwroot/redirect.js deleted file mode 100644 index b7b3d3d1..00000000 --- a/projects/WebMVC/wwwroot/redirect.js +++ /dev/null @@ -1,29 +0,0 @@ -/** - * [閫氳繃鍙傛暟鍚嶈幏鍙杣rl涓殑鍙傛暟鍊糫 - * 绀轰緥URL:http://iot.edusoa.com/IoTCenter/index.html?organ=娴嬭瘯瀛︽牎 - * @param {[string]} queryName [鍙傛暟鍚峕 - * @return {[string]} [鍙傛暟鍊糫 - */ -function GetQueryValue(queryName) { - var reg = new RegExp("(^|&)" + queryName + "=([^&]*)(&|$)", "i"); - var r = window.location.search.substr(1).match(reg); - if ( r != null ){ - return decodeURI(r[2]); - }else{ - return null; - } -} -var url = ''; -var school = GetQueryValue('organ').replace(/\'/g, ''); - -switch(school) { - case '涓滃笀鐞嗘兂': - url = 'http://iot.edusoa.com' - break; - case '鍞愬北甯傜◣涓滀腑瀛': - url = 'http://tsssdzx.iot.edusoa.com' - break; - default: - url = 'http://iot.edusoa.com' -} -window.location.href = url; \ No newline at end of file