Przeglądaj źródła

:tada: 2.2.3.RELEASE

smallchill 5 lat temu
rodzic
commit
95073d8e65

+ 1 - 1
blade-core-boot/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <groupId>org.springblade</groupId>
         <artifactId>blade-tool</artifactId>
-        <version>2.2.2</version>
+        <version>2.2.3</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

+ 1 - 1
blade-core-cloud/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>blade-tool</artifactId>
         <groupId>org.springblade</groupId>
-        <version>2.2.2</version>
+        <version>2.2.3</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 

+ 1 - 1
blade-core-develop/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>blade-tool</artifactId>
         <groupId>org.springblade</groupId>
-        <version>2.2.2</version>
+        <version>2.2.3</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 

+ 1 - 1
blade-core-develop/src/main/java/org/springblade/develop/CodeGenerator.java

@@ -40,7 +40,7 @@ public class CodeGenerator {
 	/**
 	 * 前端代码生成所属系统
 	 */
-	public static String SYSTEM_NAME = "templates/saber";
+	public static String SYSTEM_NAME = "saber";
 	/**
 	 * 前端代码生成地址
 	 */

+ 2 - 2
blade-core-develop/src/main/java/org/springblade/develop/constant/DevelopConstant.java

@@ -24,10 +24,10 @@ public interface DevelopConstant {
 	/**
 	 * sword 系统名
 	 */
-	String SWORD_NAME = "templates/sword";
+	String SWORD_NAME = "sword";
 
 	/**
 	 * saber 系统名
 	 */
-	String SABER_NAME = "templates/saber";
+	String SABER_NAME = "saber";
 }

+ 1 - 1
blade-core-develop/src/main/resources/templates/saber/crud.vue.vm

@@ -27,7 +27,7 @@
 </template>
 
 <script>
-  import {getList, getDetail, add, update, remove} from "templates/saber/crud.vue$!{cfg.servicePackage}/$!{cfg.entityKey}";
+  import {getList, getDetail, add, update, remove} from "@/api/$!{cfg.servicePackage}/$!{cfg.entityKey}";
   import {mapGetters} from "vuex";
 
   export default {

+ 1 - 1
blade-core-develop/src/main/resources/templates/sword/add.js.vm

@@ -4,7 +4,7 @@ import { Form, Input, Card, Button } from 'antd';
 import { connect } from 'dva';
 import Panel from '../../../components/Panel';
 import styles from '../../../layouts/Sword.less';
-import { $!{upperEntityPath}_SUBMIT } from './add.js$!{table.entityPath}';
+import { $!{upperEntityPath}_SUBMIT } from '../../../actions/$!{table.entityPath}';
 
 const FormItem = Form.Item;
 

+ 1 - 1
blade-core-develop/src/main/resources/templates/sword/edit.js.vm

@@ -4,7 +4,7 @@ import { Form, Input, Card, Button } from 'antd';
 import { connect } from 'dva';
 import Panel from '../../../components/Panel';
 import styles from '../../../layouts/Sword.less';
-import { $!{upperEntityPath}_DETAIL, $!{upperEntityPath}_SUBMIT } from './edit.js$!{table.entityPath}';
+import { $!{upperEntityPath}_DETAIL, $!{upperEntityPath}_SUBMIT } from '../../../actions/$!{table.entityPath}';
 
 const FormItem = Form.Item;
 

+ 1 - 1
blade-core-develop/src/main/resources/templates/sword/list.js.vm

@@ -3,7 +3,7 @@ import React, { PureComponent } from 'react';
 import { connect } from 'dva';
 import { Button, Col, Form, Input, Row } from 'antd';
 import Panel from '../../../components/Panel';
-import { $!{upperEntityPath}_LIST } from './list.js$!{table.entityPath}';
+import { $!{upperEntityPath}_LIST } from '../../../actions/$!{table.entityPath}';
 import Grid from '../../../components/Sword/Grid';
 
 const FormItem = Form.Item;

+ 2 - 2
blade-core-develop/src/main/resources/templates/sword/model.js.vm

@@ -1,8 +1,8 @@
 #set($upperEntityPath=$table.entityPath.toUpperCase())
 import { message } from 'antd';
 import router from 'umi/router';
-import { $!{upperEntityPath}_NAMESPACE } from './model.js$!{table.entityPath}';
-import { list, submit, detail, remove } from './model.js$!{table.entityPath}';
+import { $!{upperEntityPath}_NAMESPACE } from '../actions/$!{table.entityPath}';
+import { list, submit, detail, remove } from '../services/$!{table.entityPath}';
 
 export default {
   namespace: $!{upperEntityPath}_NAMESPACE,

+ 1 - 1
blade-core-develop/src/main/resources/templates/sword/view.js.vm

@@ -5,7 +5,7 @@ import { Form, Card, Button } from 'antd';
 import { connect } from 'dva';
 import Panel from '../../../components/Panel';
 import styles from '../../../layouts/Sword.less';
-import { $!{upperEntityPath}_DETAIL } from './view.js$!{table.entityPath}';
+import { $!{upperEntityPath}_DETAIL } from '../../../actions/$!{table.entityPath}';
 
 const FormItem = Form.Item;
 

+ 1 - 1
blade-core-launch/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>blade-tool</artifactId>
         <groupId>org.springblade</groupId>
-        <version>2.2.2</version>
+        <version>2.2.3</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

+ 1 - 1
blade-core-log/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>blade-tool</artifactId>
         <groupId>org.springblade</groupId>
-        <version>2.2.2</version>
+        <version>2.2.3</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

+ 1 - 1
blade-core-mybatis/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>blade-tool</artifactId>
         <groupId>org.springblade</groupId>
-        <version>2.2.2</version>
+        <version>2.2.3</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

+ 1 - 1
blade-core-secure/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>blade-tool</artifactId>
         <groupId>org.springblade</groupId>
-        <version>2.2.2</version>
+        <version>2.2.3</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

+ 1 - 1
blade-core-swagger/pom.xml

@@ -5,7 +5,7 @@
     <parent>
         <artifactId>blade-tool</artifactId>
         <groupId>org.springblade</groupId>
-        <version>2.2.2</version>
+        <version>2.2.3</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

+ 1 - 1
blade-core-tool/pom.xml

@@ -6,7 +6,7 @@
     <parent>
         <groupId>org.springblade</groupId>
         <artifactId>blade-tool</artifactId>
-        <version>2.2.2</version>
+        <version>2.2.3</version>
     </parent>
 
     <modelVersion>4.0.0</modelVersion>

+ 2 - 2
pom.xml

@@ -5,7 +5,7 @@
 
     <groupId>org.springblade</groupId>
     <artifactId>blade-tool</artifactId>
-    <version>2.2.2</version>
+    <version>2.2.3</version>
     <packaging>pom</packaging>
     <name>blade-tool</name>
     <description>
@@ -36,7 +36,7 @@
     </scm>
 
     <properties>
-        <blade.tool.version>2.2.2</blade.tool.version>
+        <blade.tool.version>2.2.3</blade.tool.version>
 
         <java.version>1.8</java.version>
         <maven.plugin.version>3.8.0</maven.plugin.version>