From 927c1b880bd280aebf42dd7d7e4c164437b477e2 Mon Sep 17 00:00:00 2001
From: lorne <1991wangliang@gmail.com>
Date: Tue, 26 May 2026 20:30:19 +0800
Subject: [PATCH 1/2] update version

---
 .../example-app-cmd-domain/pom.xml            |  2 +-
 .../example-app/example-app-cmd-meta/pom.xml  |  2 +-
 example/example-app/example-app-query/pom.xml |  2 +-
 example/example-app/pom.xml                   |  2 +-
 .../example-domain-leave/pom.xml              |  2 +-
 .../example-domain-user/pom.xml               |  2 +-
 example/example-domain/pom.xml                |  2 +-
 .../example-infra/example-infra-flow/pom.xml  |  2 +-
 .../example-infra/example-infra-jpa/pom.xml   |  2 +-
 .../example-infra-security/pom.xml            |  2 +-
 example/example-infra/pom.xml                 |  2 +-
 example/example-interface/pom.xml             |  2 +-
 example/example-server/pom.xml                |  2 +-
 example/pom.xml                               |  2 +-
 pom.xml                                       |  2 +-
 springboot-starter-data-authorization/pom.xml |  2 +-
 springboot-starter-data-fast/pom.xml          |  2 +-
 springboot-starter-flow/pom.xml               |  2 +-
 springboot-starter-security/pom.xml           |  2 +-
 springboot-starter/pom.xml                    |  2 +-
 .../framework/script/meta/GroovyMetadata.java | 19 +++++++++++++++----
 .../service/GroovyMetadataParserService.java  |  1 +
 22 files changed, 36 insertions(+), 24 deletions(-)

diff --git a/example/example-app/example-app-cmd-domain/pom.xml b/example/example-app/example-app-cmd-domain/pom.xml
index af3d455a..75fff43b 100644
--- a/example/example-app/example-app-cmd-domain/pom.xml
+++ b/example/example-app/example-app-cmd-domain/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-app</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-app/example-app-cmd-meta/pom.xml b/example/example-app/example-app-cmd-meta/pom.xml
index cc0d0624..a515f0cf 100644
--- a/example/example-app/example-app-cmd-meta/pom.xml
+++ b/example/example-app/example-app-cmd-meta/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-app</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-app/example-app-query/pom.xml b/example/example-app/example-app-query/pom.xml
index 34530fd9..ffdb4fe7 100644
--- a/example/example-app/example-app-query/pom.xml
+++ b/example/example-app/example-app-query/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-app</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-app/pom.xml b/example/example-app/pom.xml
index f24897f0..035e9e22 100644
--- a/example/example-app/pom.xml
+++ b/example/example-app/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-example</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <packaging>pom</packaging>
diff --git a/example/example-domain/example-domain-leave/pom.xml b/example/example-domain/example-domain-leave/pom.xml
index e99aac01..9af05e45 100644
--- a/example/example-domain/example-domain-leave/pom.xml
+++ b/example/example-domain/example-domain-leave/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-domain</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-domain/example-domain-user/pom.xml b/example/example-domain/example-domain-user/pom.xml
index ebd88998..0512625d 100644
--- a/example/example-domain/example-domain-user/pom.xml
+++ b/example/example-domain/example-domain-user/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-domain</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-domain/pom.xml b/example/example-domain/pom.xml
index 6d814889..c90a33f5 100644
--- a/example/example-domain/pom.xml
+++ b/example/example-domain/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-example</artifactId>
-       <version>3.4.47</version>
+       <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/example/example-infra/example-infra-flow/pom.xml b/example/example-infra/example-infra-flow/pom.xml
index 3742b67c..6efbc6d2 100644
--- a/example/example-infra/example-infra-flow/pom.xml
+++ b/example/example-infra/example-infra-flow/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-infra</artifactId>
-       <version>3.4.47</version>
+       <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-infra/example-infra-jpa/pom.xml b/example/example-infra/example-infra-jpa/pom.xml
index 5c3ff943..b4472afb 100644
--- a/example/example-infra/example-infra-jpa/pom.xml
+++ b/example/example-infra/example-infra-jpa/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-infra</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-infra/example-infra-security/pom.xml b/example/example-infra/example-infra-security/pom.xml
index e8ac1247..8e915a7a 100644
--- a/example/example-infra/example-infra-security/pom.xml
+++ b/example/example-infra/example-infra-security/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-infra</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-infra/pom.xml b/example/example-infra/pom.xml
index c9d64575..f5453a6a 100644
--- a/example/example-infra/pom.xml
+++ b/example/example-infra/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-example</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <packaging>pom</packaging>
diff --git a/example/example-interface/pom.xml b/example/example-interface/pom.xml
index 78a41f86..77ec5c01 100644
--- a/example/example-interface/pom.xml
+++ b/example/example-interface/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-example</artifactId>
-        <version>3.4.47</version>
+        <version>3.4.48</version>
     </parent>
 
     <artifactId>example-interface</artifactId>
diff --git a/example/example-server/pom.xml b/example/example-server/pom.xml
index f008dda7..54e4c611 100644
--- a/example/example-server/pom.xml
+++ b/example/example-server/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <artifactId>springboot-example</artifactId>
         <groupId>com.codingapi.springboot</groupId>
-       <version>3.4.47</version>
+       <version>3.4.48</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/example/pom.xml b/example/pom.xml
index a524943b..fcea58ce 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -19,7 +19,7 @@
     </parent>
 
     <artifactId>springboot-example</artifactId>
-    <version>3.4.47</version>
+    <version>3.4.48</version>
 
     <name>springboot-example</name>
     <description>springboot-example project for Spring Boot</description>
diff --git a/pom.xml b/pom.xml
index c5fe02b7..e2b98601 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
 
     <groupId>com.codingapi.springboot</groupId>
     <artifactId>springboot-parent</artifactId>
-    <version>3.4.47</version>
+    <version>3.4.48</version>
 
     <url>https://github.com/codingapi/springboot-framewrok</url>
     <name>springboot-parent</name>
diff --git a/springboot-starter-data-authorization/pom.xml b/springboot-starter-data-authorization/pom.xml
index 0f08d6c4..70a75692 100644
--- a/springboot-starter-data-authorization/pom.xml
+++ b/springboot-starter-data-authorization/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-parent</artifactId>
-       <version>3.4.47</version>
+       <version>3.4.48</version>
     </parent>
 
     <name>springboot-starter-data-authorization</name>
diff --git a/springboot-starter-data-fast/pom.xml b/springboot-starter-data-fast/pom.xml
index c4721acb..197caa7c 100644
--- a/springboot-starter-data-fast/pom.xml
+++ b/springboot-starter-data-fast/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <artifactId>springboot-parent</artifactId>
         <groupId>com.codingapi.springboot</groupId>
-       <version>3.4.47</version>
+       <version>3.4.48</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/springboot-starter-flow/pom.xml b/springboot-starter-flow/pom.xml
index 3a8035cb..048fef9f 100644
--- a/springboot-starter-flow/pom.xml
+++ b/springboot-starter-flow/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <artifactId>springboot-parent</artifactId>
         <groupId>com.codingapi.springboot</groupId>
-       <version>3.4.47</version>
+       <version>3.4.48</version>
     </parent>
 
     <name>springboot-starter-flow</name>
diff --git a/springboot-starter-security/pom.xml b/springboot-starter-security/pom.xml
index 4c9b694f..daa5316a 100644
--- a/springboot-starter-security/pom.xml
+++ b/springboot-starter-security/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <artifactId>springboot-parent</artifactId>
         <groupId>com.codingapi.springboot</groupId>
-       <version>3.4.47</version>
+       <version>3.4.48</version>
     </parent>
 
     <artifactId>springboot-starter-security</artifactId>
diff --git a/springboot-starter/pom.xml b/springboot-starter/pom.xml
index 6508635d..70643571 100644
--- a/springboot-starter/pom.xml
+++ b/springboot-starter/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-parent</artifactId>
-       <version>3.4.47</version>
+       <version>3.4.48</version>
     </parent>
     <artifactId>springboot-starter</artifactId>
 
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
index b4a69550..8fb9f9f6 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
@@ -27,6 +27,12 @@ public class GroovyMetadata {
      */
     private final List<GroovyField> binds;
 
+    /**
+     * 程序主函数名称
+     */
+    @Setter
+    private String mainMethod;
+
     /**
      * 返回类型
      */
@@ -47,6 +53,7 @@ public GroovyMetadata() {
 
     /**
      * 通过class构建 脚本类型数据
+     *
      * @param clazz class类型
      */
     public void buildType(Class<?> clazz) {
@@ -57,7 +64,7 @@ public void buildType(Class<?> clazz) {
             groovyType = groovyTypeParser.parser();
             groovyType.setDataType(dataType);
             ScriptType scriptType = clazz.getAnnotation(ScriptType.class);
-            if(scriptType!=null) {
+            if (scriptType != null) {
                 groovyType.setDescription(scriptType.description());
             }
             this.put(dataType, groovyType);
@@ -66,6 +73,7 @@ public void buildType(Class<?> clazz) {
 
     /**
      * 增加请求参数数据对象
+     *
      * @param request 请求参数
      */
     public void addRequest(GroovyField request) {
@@ -74,26 +82,29 @@ public void addRequest(GroovyField request) {
 
     /**
      * 更新流程类型数据
-     * @param dataType 数据类型
+     *
+     * @param dataType   数据类型
      * @param groovyType 脚本类型
      */
-    public void put(String dataType,GroovyType groovyType){
+    public void put(String dataType, GroovyType groovyType) {
         this.types.put(dataType, groovyType);
     }
 
 
     /**
      * 获取流程类型数据
+     *
      * @param dataType 数据类型
      * @return 脚本类型
      */
-    public GroovyType getType(String dataType){
+    public GroovyType getType(String dataType) {
         return this.types.get(dataType);
     }
 
 
     /**
      * 增加绑定数据对象
+     *
      * @param bind 绑定数据
      */
     public void addBind(GroovyField bind) {
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java
index 6d436ee4..715f5e8e 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java
@@ -20,6 +20,7 @@ public class GroovyMetadataParserService {
     public GroovyMetadataParserService(GroovyRunningScript<?> script) {
         this.script = script;
         this.groovyMetadata = new GroovyMetadata();
+        this.groovyMetadata.setMainMethod(script.getMethod());
     }
 
 

From aab243e2f85a870bc10f9a644c94fd0b4342d287 Mon Sep 17 00:00:00 2001
From: lorne <1991wangliang@gmail.com>
Date: Tue, 26 May 2026 22:23:00 +0800
Subject: [PATCH 2/2] update version

---
 .../example-app-cmd-domain/pom.xml            |  2 +-
 .../example-app/example-app-cmd-meta/pom.xml  |  2 +-
 example/example-app/example-app-query/pom.xml |  2 +-
 example/example-app/pom.xml                   |  2 +-
 .../example-domain-leave/pom.xml              |  2 +-
 .../example-domain-user/pom.xml               |  2 +-
 example/example-domain/pom.xml                |  2 +-
 .../example-infra/example-infra-flow/pom.xml  |  2 +-
 .../example-infra/example-infra-jpa/pom.xml   |  2 +-
 .../example-infra-security/pom.xml            |  2 +-
 example/example-infra/pom.xml                 |  2 +-
 example/example-interface/pom.xml             |  2 +-
 example/example-server/pom.xml                |  2 +-
 example/pom.xml                               |  2 +-
 pom.xml                                       |  2 +-
 springboot-starter-data-authorization/pom.xml |  2 +-
 springboot-starter-data-fast/pom.xml          |  2 +-
 springboot-starter-flow/pom.xml               |  2 +-
 springboot-starter-security/pom.xml           |  2 +-
 springboot-starter/pom.xml                    |  2 +-
 .../framework/script/meta/GroovyMetadata.java |  6 ++++
 .../script/request/GroovyRunningScript.java   | 33 ++++++++++++++-----
 .../service/GroovyMetadataParserService.java  |  1 +
 .../GroovyScriptRunningContextTest.java       |  1 -
 24 files changed, 51 insertions(+), 30 deletions(-)

diff --git a/example/example-app/example-app-cmd-domain/pom.xml b/example/example-app/example-app-cmd-domain/pom.xml
index 75fff43b..ea9cbb7e 100644
--- a/example/example-app/example-app-cmd-domain/pom.xml
+++ b/example/example-app/example-app-cmd-domain/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-app</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-app/example-app-cmd-meta/pom.xml b/example/example-app/example-app-cmd-meta/pom.xml
index a515f0cf..fa5a85b3 100644
--- a/example/example-app/example-app-cmd-meta/pom.xml
+++ b/example/example-app/example-app-cmd-meta/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-app</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-app/example-app-query/pom.xml b/example/example-app/example-app-query/pom.xml
index ffdb4fe7..d98b0870 100644
--- a/example/example-app/example-app-query/pom.xml
+++ b/example/example-app/example-app-query/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-app</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-app/pom.xml b/example/example-app/pom.xml
index 035e9e22..a06ce069 100644
--- a/example/example-app/pom.xml
+++ b/example/example-app/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-example</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <packaging>pom</packaging>
diff --git a/example/example-domain/example-domain-leave/pom.xml b/example/example-domain/example-domain-leave/pom.xml
index 9af05e45..34d74e5e 100644
--- a/example/example-domain/example-domain-leave/pom.xml
+++ b/example/example-domain/example-domain-leave/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-domain</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-domain/example-domain-user/pom.xml b/example/example-domain/example-domain-user/pom.xml
index 0512625d..7e63cef4 100644
--- a/example/example-domain/example-domain-user/pom.xml
+++ b/example/example-domain/example-domain-user/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-domain</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-domain/pom.xml b/example/example-domain/pom.xml
index c90a33f5..e6aa033d 100644
--- a/example/example-domain/pom.xml
+++ b/example/example-domain/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-example</artifactId>
-       <version>3.4.48</version>
+       <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff --git a/example/example-infra/example-infra-flow/pom.xml b/example/example-infra/example-infra-flow/pom.xml
index 6efbc6d2..8f0d701f 100644
--- a/example/example-infra/example-infra-flow/pom.xml
+++ b/example/example-infra/example-infra-flow/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-infra</artifactId>
-       <version>3.4.48</version>
+       <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-infra/example-infra-jpa/pom.xml b/example/example-infra/example-infra-jpa/pom.xml
index b4472afb..06c380f5 100644
--- a/example/example-infra/example-infra-jpa/pom.xml
+++ b/example/example-infra/example-infra-jpa/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-infra</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-infra/example-infra-security/pom.xml b/example/example-infra/example-infra-security/pom.xml
index 8e915a7a..40f3d079 100644
--- a/example/example-infra/example-infra-security/pom.xml
+++ b/example/example-infra/example-infra-security/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>example-infra</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
 
diff --git a/example/example-infra/pom.xml b/example/example-infra/pom.xml
index f5453a6a..4da00f43 100644
--- a/example/example-infra/pom.xml
+++ b/example/example-infra/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-example</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
         <relativePath>../pom.xml</relativePath>
     </parent>
     <packaging>pom</packaging>
diff --git a/example/example-interface/pom.xml b/example/example-interface/pom.xml
index 77ec5c01..1cc2348c 100644
--- a/example/example-interface/pom.xml
+++ b/example/example-interface/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-example</artifactId>
-        <version>3.4.48</version>
+        <version>3.4.49</version>
     </parent>
 
     <artifactId>example-interface</artifactId>
diff --git a/example/example-server/pom.xml b/example/example-server/pom.xml
index 54e4c611..390ce743 100644
--- a/example/example-server/pom.xml
+++ b/example/example-server/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <artifactId>springboot-example</artifactId>
         <groupId>com.codingapi.springboot</groupId>
-       <version>3.4.48</version>
+       <version>3.4.49</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/example/pom.xml b/example/pom.xml
index fcea58ce..fc06945f 100644
--- a/example/pom.xml
+++ b/example/pom.xml
@@ -19,7 +19,7 @@
     </parent>
 
     <artifactId>springboot-example</artifactId>
-    <version>3.4.48</version>
+    <version>3.4.49</version>
 
     <name>springboot-example</name>
     <description>springboot-example project for Spring Boot</description>
diff --git a/pom.xml b/pom.xml
index e2b98601..24edea63 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,7 +12,7 @@
 
     <groupId>com.codingapi.springboot</groupId>
     <artifactId>springboot-parent</artifactId>
-    <version>3.4.48</version>
+    <version>3.4.49</version>
 
     <url>https://github.com/codingapi/springboot-framewrok</url>
     <name>springboot-parent</name>
diff --git a/springboot-starter-data-authorization/pom.xml b/springboot-starter-data-authorization/pom.xml
index 70a75692..25ade71a 100644
--- a/springboot-starter-data-authorization/pom.xml
+++ b/springboot-starter-data-authorization/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-parent</artifactId>
-       <version>3.4.48</version>
+       <version>3.4.49</version>
     </parent>
 
     <name>springboot-starter-data-authorization</name>
diff --git a/springboot-starter-data-fast/pom.xml b/springboot-starter-data-fast/pom.xml
index 197caa7c..67075ae9 100644
--- a/springboot-starter-data-fast/pom.xml
+++ b/springboot-starter-data-fast/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <artifactId>springboot-parent</artifactId>
         <groupId>com.codingapi.springboot</groupId>
-       <version>3.4.48</version>
+       <version>3.4.49</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
 
diff --git a/springboot-starter-flow/pom.xml b/springboot-starter-flow/pom.xml
index 048fef9f..49ef4056 100644
--- a/springboot-starter-flow/pom.xml
+++ b/springboot-starter-flow/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <artifactId>springboot-parent</artifactId>
         <groupId>com.codingapi.springboot</groupId>
-       <version>3.4.48</version>
+       <version>3.4.49</version>
     </parent>
 
     <name>springboot-starter-flow</name>
diff --git a/springboot-starter-security/pom.xml b/springboot-starter-security/pom.xml
index daa5316a..2ab67bfa 100644
--- a/springboot-starter-security/pom.xml
+++ b/springboot-starter-security/pom.xml
@@ -6,7 +6,7 @@
     <parent>
         <artifactId>springboot-parent</artifactId>
         <groupId>com.codingapi.springboot</groupId>
-       <version>3.4.48</version>
+       <version>3.4.49</version>
     </parent>
 
     <artifactId>springboot-starter-security</artifactId>
diff --git a/springboot-starter/pom.xml b/springboot-starter/pom.xml
index 70643571..51b842f7 100644
--- a/springboot-starter/pom.xml
+++ b/springboot-starter/pom.xml
@@ -5,7 +5,7 @@
     <parent>
         <groupId>com.codingapi.springboot</groupId>
         <artifactId>springboot-parent</artifactId>
-       <version>3.4.48</version>
+       <version>3.4.49</version>
     </parent>
     <artifactId>springboot-starter</artifactId>
 
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
index 8fb9f9f6..de3dcde1 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/meta/GroovyMetadata.java
@@ -44,6 +44,12 @@ public class GroovyMetadata {
      */
     private final Map<String, GroovyType> types;
 
+    /**
+     * 脚本说明
+     */
+    @Setter
+    private String description;
+
 
     public GroovyMetadata() {
         this.types = new HashMap<>();
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/request/GroovyRunningScript.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/request/GroovyRunningScript.java
index 178d9d6a..a9209f9c 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/request/GroovyRunningScript.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/request/GroovyRunningScript.java
@@ -26,6 +26,11 @@ public class GroovyRunningScript<T> {
      */
     private final String script;
 
+    /**
+     * 脚本说明
+     */
+    private final String description;
+
     /**
      * 返回数据类型
      */
@@ -47,37 +52,46 @@ public class GroovyRunningScript<T> {
     private GroovyMetadata metadata;
 
 
-    public GroovyRunningScript(String method, String script, Class<T> returnType, List<GroovyBindObject> binds, List<GroovyBindObject> requests) {
+    public GroovyRunningScript(String method, String script, String description, Class<T> returnType, List<GroovyBindObject> binds, List<GroovyBindObject> requests) {
         this.method = method;
         this.script = script;
+        this.description = description;
         this.returnType = returnType;
         this.requests = requests;
         this.binds = binds;
     }
 
-    public GroovyRunningScript(String method, String script, Class<T> returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
-        this(method, script, returnType, bindBuilder != null ? bindBuilder.build() : null, requestBuilder != null ? requestBuilder.build() : null);
+    public GroovyRunningScript(String method, String script, String description, Class<T> returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
+        this(method, script, description, returnType, bindBuilder != null ? bindBuilder.build() : null, requestBuilder != null ? requestBuilder.build() : null);
     }
 
 
-    public GroovyRunningScript(String method, String script, Class<T> returnType, GroovyBindObjectBuilder requestBuilder) {
-        this(method, script, returnType, null, requestBuilder);
+    public GroovyRunningScript(String method, String script, String description, Class<T> returnType, GroovyBindObjectBuilder requestBuilder) {
+        this(method, script, description, returnType, null, requestBuilder);
     }
 
-    public GroovyRunningScript(String script, Class<T> returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
-        this("run", script, returnType, bindBuilder, requestBuilder);
+    public GroovyRunningScript(String script,  Class<T> returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
+        this("run", script, null, returnType, bindBuilder, requestBuilder);
     }
 
-    public GroovyRunningScript(String script, Class<T> returnType, GroovyBindObjectBuilder requestBuilder) {
+    public GroovyRunningScript(String script, String description, Class<T> returnType, GroovyBindObjectBuilder bindBuilder, GroovyBindObjectBuilder requestBuilder) {
+        this("run", script, description, returnType, bindBuilder, requestBuilder);
+    }
+
+    public GroovyRunningScript(String script,String description, Class<T> returnType, GroovyBindObjectBuilder requestBuilder) {
         this("run", script, returnType, null, requestBuilder);
     }
 
+    public GroovyRunningScript(String script,Class<T> returnType, GroovyBindObjectBuilder requestBuilder) {
+        this("run", script,null, returnType, null, requestBuilder);
+    }
+
     /**
      * 获取参数
      */
     public Object[] getParams() {
         List<Object> objects = new ArrayList<>();
-        if(this.requests!=null) {
+        if (this.requests != null) {
             for (GroovyBindObject bindObject : this.requests) {
                 objects.add(bindObject.getObject());
             }
@@ -87,6 +101,7 @@ public Object[] getParams() {
 
     /**
      * 重新设置脚本元数据信息
+     *
      * @param metadata 脚本元数据信息
      */
     public void resetMetadata(GroovyMetadata metadata) {
diff --git a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java
index 715f5e8e..58cdb9da 100644
--- a/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java
+++ b/springboot-starter/src/main/java/com/codingapi/springboot/framework/script/service/GroovyMetadataParserService.java
@@ -21,6 +21,7 @@ public GroovyMetadataParserService(GroovyRunningScript<?> script) {
         this.script = script;
         this.groovyMetadata = new GroovyMetadata();
         this.groovyMetadata.setMainMethod(script.getMethod());
+        this.groovyMetadata.setDescription(script.getDescription());
     }
 
 
diff --git a/springboot-starter/src/test/java/com/codingapi/springboot/framework/script/GroovyScriptRunningContextTest.java b/springboot-starter/src/test/java/com/codingapi/springboot/framework/script/GroovyScriptRunningContextTest.java
index 8617fd0d..f07b402c 100644
--- a/springboot-starter/src/test/java/com/codingapi/springboot/framework/script/GroovyScriptRunningContextTest.java
+++ b/springboot-starter/src/test/java/com/codingapi/springboot/framework/script/GroovyScriptRunningContextTest.java
@@ -1,7 +1,6 @@
 package com.codingapi.springboot.framework.script;
 
 import com.alibaba.fastjson.JSON;
-import com.codingapi.springboot.framework.script.meta.GroovyMetadata;
 import com.codingapi.springboot.framework.script.request.GroovyBindObjectBuilder;
 import com.codingapi.springboot.framework.script.request.GroovyRunningScript;
 import com.codingapi.springboot.framework.script.request.MyScriptRequest;
