From 1a1a315efb1b5dc294013126f35819e36565040c Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 30 九月 2021 18:06:48 +0800
Subject: [PATCH] 后台管理自动化代码生成

---
 src/test/java/com/generater/TestEntity.java |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/src/test/java/com/generater/TestEntity.java b/src/test/java/com/generater/TestEntity.java
index 0d6211b..deeefd4 100644
--- a/src/test/java/com/generater/TestEntity.java
+++ b/src/test/java/com/generater/TestEntity.java
@@ -23,26 +23,26 @@
 
     @DaoQueryCondition(queryType = DaoQueryCondition.QueryType.contains)
     @Show(order = 0, title = "鏄电О")
-    @Text(title = "鏄电О", maxLength = 50, require = true, placeHolder = "璇疯緭鍏ユ樀绉�", desc = "鏄电О涓嶈兘鍖呭惈鐗规畩瀛楃", verifyType = FormVerifyType.regex, verifyValue = "^.{0-100}$", verifyNotifyMsg = "璇疯緭鍏ユ纭殑鏄电О")
+    @Text(title = "鏄电О", maxLength = 50, require = true, placeHolder = "璇疯緭鍏ユ樀绉�", desc = "鏄电О涓嶈兘鍖呭惈鐗规畩瀛楃", verifyType = FormVerifyType.none, verifyValue = "^.{0-100}$", verifyNotifyMsg = "璇疯緭鍏ユ纭殑鏄电О")
     private String nickName;
 
     @DaoQueryCondition
     @Show(order = 1, title = "绫诲瀷")
-    @Select(values = {"1,鐢�", "2,濂�"}, title = "绫诲瀷")
+    @Select(values = {"1:鐢�", "2:濂�"}, title = "绫诲瀷")
     private int type;
 
     @DaoQueryCondition
     @Show(order = 2, title = "鎬у埆")
-    @RadioGroup(values = {"1,鐢�", "2,濂�"}, title = "鎬у埆")
+    @RadioGroup(values = {"1:鐢�", "2:濂�"}, title = "鎬у埆")
     private int sex;
 
     @Show(order = 3, title = "澶村儚", showType = Show.ShowType.IMG, imgWidth = 50, imgHeight = 50)
-    @Img(width = 50, height = 50, title = "澶村儚")
+    @Img(height = 50, title = "澶村儚", uploadApi = "/admin/uploadimg", uploadApiParams = {"id:123123","type:2"})
     private String portrait;
 
     @DaoQueryCondition
     @Show(order = 4, title = "鐪�")
-    @Select(apiPath = "/admin/api/getProvince", title = "鐪�")
+    @Select(values = {"cq:閲嶅簡","js:姹熻嫃"}, title = "鐪�", apiParams = {"page:1", "pageSize:10", "id:\"test\""})
     private String province;
 
 

--
Gitblit v1.8.0