From 348c483d9e8cf81c485289a44c717fe1c23f4065 Mon Sep 17 00:00:00 2001
From: shiyj <1098226878@qq.com>
Date: 星期日, 07 七月 2019 17:29:35 +0800
Subject: [PATCH] Merge branch 'master' of https://github.com/java110/MicroCommunity

---
 java110-code-generator/src/main/resources/web/template_1.json |  183 +++++++++++++++++++++++++++++++--------------
 1 files changed, 125 insertions(+), 58 deletions(-)

diff --git a/java110-code-generator/src/main/resources/web/template_1.json b/java110-code-generator/src/main/resources/web/template_1.json
index 3ffc1d9..31039fd 100644
--- a/java110-code-generator/src/main/resources/web/template_1.json
+++ b/java110-code-generator/src/main/resources/web/template_1.json
@@ -1,79 +1,146 @@
 {
-  "templateName":"灏忓尯",
-  "templateCode":"community",
-  "templateKey":"communityId",
-  "templateKeyName":"灏忓尯ID",
+  "templateName":"鏈嶅姟",
+  "templateCode":"service",
+  "templateKey":"serviceId",
+  "templateKeyName":"鏈嶅姟ID",
   "columns":[
     {
       "code":"name",
-      "cnCode":"灏忓尯鍚嶇О",
-      "desc":"蹇呭~锛岃濉啓灏忓尯鍚嶇О",
+      "cnCode":"鏈嶅姟鍚嶇О",
+      "desc":"蹇呭~锛岃濉啓鏈嶅姟鍚嶇О",
       "required":true,
       "hasDefaultValue":false,
       "inputType":"input",
-      "limit":"maxin",
-      "limitParam":"10,20",
-      "limitErrInfo":"灏忓尯鍚嶇О蹇呴』鍦�10鑷�20瀛楃涔嬮棿"
-    },
-    {
-      "code":"address",
-      "cnCode":"灏忓尯鍦板潃",
-      "desc":"蹇呭~锛岃濉啓灏忓尯鍦板潃",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType":"input",
-      "limit":"maxin",
-      "limitParam":"200",
-      "limitErrInfo":"灏忓尯鍦板潃涓嶈兘澶т簬200涓瓧绗�"
-    },
-    {
-      "code":"nearbyLandmarks",
-      "cnCode":"闄勮繎鍦版爣",
-      "desc":"蹇呭~锛岃濉啓灏忓尯闄勮繎鍦版爣",
-      "required":true,
-      "hasDefaultValue":false,
-      "inputType":"input",
-      "limit":"maxin",
+      "limit":"maxLength",
       "limitParam":"50",
-      "limitErrInfo":"灏忓尯闄勮繎鍦版爣涓嶈兘澶т簬50涓瓧绗�"
+      "limitErrInfo":"鏈嶅姟鍚嶇О涓嶈兘瓒呰繃50"
     },
     {
-      "code":"cityCode",
-      "cnCode":"鍩庡競缂栫爜",
-      "desc":"",
-      "required":false,
-      "hasDefaultValue":true,
-      "defaultValue":"0971",
-      "inputType":"none",
+      "code":"serviceCode",
+      "cnCode":"鏈嶅姟缂栫爜",
+      "desc":"蹇呭~锛岃濉啓鏈嶅姟缂栫爜濡� service.saveService",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType":"input",
       "limit":"maxin",
-      "limitParam":"12",
-      "limitErrInfo":"灏忓尯鍩庡競缂栫爜涓嶈兘澶т簬4涓瓧绗�"
+      "limitParam":"2,50",
+      "limitErrInfo":"鏈嶅姟缂栫爜蹇呴』鍦�2鑷�50瀛楃涔嬮棿"
     },
     {
-      "code":"mapX",
-      "cnCode":"灏忓尯缁村害",
-      "desc":"",
-      "required":false,
+      "code":"businessTypeCd",
+      "cnCode":"绉橀挜",
+      "desc":"鍙~锛岃濉啓绉橀挜锛屽鏋滃~鍐欎簡闇�瑕佸姞瀵嗕紶杈�",
+      "required":true,
       "hasDefaultValue":true,
-      "defaultValue":"101.33",
+      "defaultValue":"API",
       "inputType":"none",
       "limit":"maxin",
-      "limitParam":"20",
-      "limitErrInfo":"灏忓尯鍩庡競缂栫爜涓嶈兘澶т簬4涓瓧绗�"
+      "limitParam":"2,4",
+      "limitErrInfo":"涓氬姟绫诲瀷蹇呴』涓篈PI"
     },
-    {
-      "code":"mapY",
-      "cnCode":"灏忓尯缁忓害",
-      "desc":"",
-      "required":false,
-      "hasDefaultValue":true,
-      "defaultValue":"101.33",
-      "inputType":"none",
-      "limit":"maxin",
-      "limitParam":"20",
-      "limitErrInfo":"灏忓尯鍩庡競缂栫爜涓嶈兘澶т簬4涓瓧绗�"
-    }
 
+    {
+      "code":"seq",
+      "cnCode":"搴忓垪",
+      "desc":"蹇呭~锛岃濉啓搴忓垪",
+      "required":true,
+      "hasDefaultValue":true,
+      "defaultValue":"1",
+      "inputType":"none",
+      "limit":"maxLength",
+      "limitParam":"1",
+      "limitErrInfo":"搴忓垪鏍煎紡閿欒"
+    },
+
+    {
+      "code":"messageQueueName",
+      "cnCode":"娑堟伅闃熷垪",
+      "desc":"鍙~锛岃濉啓娑堟伅闃熷垪锛岃鍗曞湪寮傛璋冪敤鏃朵娇鐢�",
+      "required":false,
+      "hasDefaultValue":false,
+      "defaultValue":"",
+      "inputType":"input",
+      "limit":"maxLength",
+      "limitParam":"50",
+      "limitErrInfo":"娑堟伅闃熷垪涓嶈兘瓒呰繃50"
+    }
+  ,
+
+    {
+      "code":"isInstance",
+      "cnCode":"鏄惁瀹炰緥",
+      "desc":"鍙~锛岃濉啓瀹炰緥 Y 鎴朜",
+      "required":true,
+      "hasDefaultValue":true,
+      "defaultValue":"Y",
+      "inputType":"input",
+      "limit":"maxLength",
+      "limitParam":"50",
+      "limitErrInfo":"瀹炰緥涓嶈兘瓒呰繃50"
+    }
+  ,
+
+    {
+      "code":"url",
+      "cnCode":"璋冪敤鍦板潃",
+      "desc":"鍙~锛岃濉啓璋冪敤鍦板潃",
+      "required":false,
+      "hasDefaultValue":true,
+      "defaultValue":"http://order-service/orderApi/service",
+      "inputType":"input",
+      "limit":"maxLength",
+      "limitParam":"200",
+      "limitErrInfo":"璋冪敤鍦板潃涓嶈兘瓒呰繃200"
+    },
+    {
+      "code":"method",
+      "cnCode":"璋冪敤鏂瑰紡",
+      "desc":"蹇呭~锛岃濉啓璋冪敤鏂瑰紡",
+      "required":true,
+      "hasDefaultValue":false,
+      "inputType":"select",
+      "selectValue":"GET,POST",
+      "selectValueName":"http get,http post",
+      "limit":"maxLength",
+      "limitParam":"50",
+      "limitErrInfo":"璋冪敤鏂瑰紡涓嶈兘瓒呰繃50"
+    },
+    {
+      "code":"timeout",
+      "cnCode":"瓒呮椂鏃堕棿",
+      "desc":"蹇呭~锛岃濉啓瓒呮椂鏃堕棿",
+      "required":true,
+      "hasDefaultValue":true,
+      "defaultValue":"60",
+      "inputType":"input",
+      "limit":"num",
+      "limitParam":"",
+      "limitErrInfo":"瓒呮椂鏃堕棿蹇呴』涓烘暟瀛�"
+    },
+    {
+      "code":"retryCount",
+      "cnCode":"閲嶈瘯娆℃暟",
+      "desc":"蹇呭~锛岃濉啓閲嶈瘯娆℃暟",
+      "required":true,
+      "hasDefaultValue":true,
+      "defaultValue":"3",
+      "inputType":"input",
+      "limit":"num",
+      "limitParam":"",
+      "limitErrInfo":"閲嶈瘯娆℃暟蹇呴』涓烘暟瀛�"
+    },
+    {
+      "code":"provideAppId",
+      "cnCode":"鎻愪緵鏈嶅姟",
+      "desc":"蹇呭~锛岃濉啓鎻愪緵鏈嶅姟",
+      "required":true,
+      "hasDefaultValue":true,
+      "defaultValue":"8000418002",
+      "inputType":"none",
+      "limit":"num",
+      "limitParam":"",
+      "limitErrInfo":"閲嶈瘯娆℃暟蹇呴』涓烘暟瀛�"
+    }
 
   ]
 }
\ No newline at end of file

--
Gitblit v1.8.0