diff --git a/README.md b/README.md index f8c1182f..c15eea07 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,7 @@ org.ssssssss magic-api-spring-boot-starter - 0.3.1 + 0.3.2 ``` ## 修改application.properties diff --git a/pom.xml b/pom.xml index 06d8d059..b35e2c43 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ org.ssssssss magic-api - 0.3.1 + 0.3.2 jar magic-api auto generate http api @@ -38,7 +38,7 @@ org.ssssssss magic-script - 1.2.0 + 1.2.1 org.springframework.boot diff --git a/src/main/resources/magicapi-support/index.html b/src/main/resources/magicapi-support/index.html index 4590cba9..00e1999c 100644 --- a/src/main/resources/magicapi-support/index.html +++ b/src/main/resources/magicapi-support/index.html @@ -2,7 +2,7 @@ - MagicAPI v0.3.1 - Powered by ssssssss-team + MagicAPI v0.3.2 - Powered by ssssssss-team @@ -25,7 +25,7 @@ A P I - +
Loading...
@@ -34,7 +34,7 @@
- +
diff --git a/src/main/resources/magicapi-support/js/index.js b/src/main/resources/magicapi-support/js/index.js index 34eefaef..f286a728 100644 --- a/src/main/resources/magicapi-support/js/index.js +++ b/src/main/resources/magicapi-support/js/index.js @@ -236,7 +236,7 @@ var MagicEditor = { var _this = this; element.onload = element.onreadystatechange = function(){ if(!this.readyState||this.readyState=='loaded'||this.readyState=='complete') { - _this.report('v0_3_1'); + _this.report('v0_3_2'); } } @@ -562,9 +562,9 @@ var MagicEditor = { createConsole : function(callback){ var source = new EventSource('console'); var _this = this; - // source.onerror = function(){ - // source.close(); - // } + source.onerror = function(){ + source.close(); + } source.addEventListener('create',function(e){ _this.navigateTo(4); callback&&callback(e.data); @@ -829,7 +829,7 @@ var MagicEditor = { url : 'https://img.shields.io/maven-central/v/org.ssssssss/magic-api.json', dataType : 'json', success : function(data){ - if(data.value != 'v0.3.1'){ + if(data.value != 'v0.3.2'){ if(ignoreVersion != data.value){ _this.createDialog({ title : '更新提示',