+
+
\ No newline at end of file
diff --git a/CorsClient/CorsClient/wwwroot/GetToken.html b/CorsClient/CorsClient/wwwroot/GetToken.html
deleted file mode 100644
index ff6e577..0000000
--- a/CorsClient/CorsClient/wwwroot/GetToken.html
+++ /dev/null
@@ -1,42 +0,0 @@
-
-
- demo
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CorsClient/CorsClient/wwwroot/Index.html b/CorsClient/CorsClient/wwwroot/Index.html
index 759ec4d..391cdb7 100644
--- a/CorsClient/CorsClient/wwwroot/Index.html
+++ b/CorsClient/CorsClient/wwwroot/Index.html
@@ -14,8 +14,13 @@
var ajaDataType = $(this).attr("responseDataType");
var ajaxRequestData = $(this).attr("requestData");
if (ajaxContentType.indexOf("json") > 0) {
- var jsonData = JSON.parse(ajaxRequestData)
- ajaxRequestData = JSON.stringify(jsonData);
+ if (ajaxRequestData == "") {
+ ajaxRequestData = "";
+ }
+ else {
+ var jsonData = JSON.parse(ajaxRequestData)
+ ajaxRequestData = JSON.stringify(jsonData);
+ }
};
$.ajax({
//请求方法
diff --git a/CorsClient/CorsClient/wwwroot/JianHang.html b/CorsClient/CorsClient/wwwroot/JianHang.html
deleted file mode 100644
index b05f043..0000000
--- a/CorsClient/CorsClient/wwwroot/JianHang.html
+++ /dev/null
@@ -1,54 +0,0 @@
-
-
-
-
- iFrame Tab Demo
-
-
-
-
-
-
-
-
建行科技:设备台帐
-
好123
-
360
-
QQ
-
-
-
-
-
登陆建行
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CorsClient/CorsClient/wwwroot/OtherWebDemo.html b/CorsClient/CorsClient/wwwroot/OtherWebDemo.html
deleted file mode 100644
index e230bbb..0000000
--- a/CorsClient/CorsClient/wwwroot/OtherWebDemo.html
+++ /dev/null
@@ -1,34 +0,0 @@
-
-
-
-
- iFrame Tab Demo
-
-
-
-
-
-
-
-
内容页
-
好123
-
360
-
QQ
-
设置Cookie
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/CorsClient/CorsClient/wwwroot/SetCookie.html b/CorsClient/CorsClient/wwwroot/SetCookie.html
deleted file mode 100644
index 70b605c..0000000
--- a/CorsClient/CorsClient/wwwroot/SetCookie.html
+++ /dev/null
@@ -1,78 +0,0 @@
-
-
-
-
- 设置登陆相关的Cookie
-
-
-
-
- 正在设置登陆Cookie信息 ......
-
-
-
-
\ No newline at end of file
diff --git a/CorsClient/CorsClient/wwwroot/favicon.ico b/CorsClient/CorsClient/wwwroot/favicon.ico
new file mode 100644
index 0000000..6c5c99f
Binary files /dev/null and b/CorsClient/CorsClient/wwwroot/favicon.ico differ