From 5589528feb385d7881f8dbf9314b3abf5d4f4e9e Mon Sep 17 00:00:00 2001
From: Your Name <you@example.com>
Date: 星期五, 27 一月 2023 19:21:11 +0800
Subject: [PATCH] 优化 房屋页面查询功能
---
service-store/src/main/java/com/java110/store/cmd/property/ListPropertyCmd.java | 37 +++++++++++++++++++++++++++++++++++++
1 files changed, 37 insertions(+), 0 deletions(-)
diff --git a/service-store/src/main/java/com/java110/store/cmd/property/ListPropertyCmd.java b/service-store/src/main/java/com/java110/store/cmd/property/ListPropertyCmd.java
index 5a84840..2f4d79c 100644
--- a/service-store/src/main/java/com/java110/store/cmd/property/ListPropertyCmd.java
+++ b/service-store/src/main/java/com/java110/store/cmd/property/ListPropertyCmd.java
@@ -20,6 +20,7 @@
import com.java110.core.context.ICmdDataFlowContext;
import com.java110.core.event.cmd.Cmd;
import com.java110.core.event.cmd.CmdEvent;
+import com.java110.doc.annotation.*;
import com.java110.dto.store.StoreDto;
import com.java110.intf.store.IStoreInnerServiceSMO;
import com.java110.intf.store.IStoreV1InnerServiceSMO;
@@ -37,6 +38,42 @@
import java.util.List;
+@Java110CmdDoc(title = "鏌ヨ鐗╀笟鍏徃",
+ description = "涓昏鎻愪緵缁欏绯荤粺鏌ヨ鐗╀笟鍏徃",
+ httpMethod = "get",
+ url = "http://{ip}:{port}/app/property.listProperty",
+ resource = "storeDoc",
+ author = "鍚村鏂�",
+ serviceCode = "property.listProperty"
+)
+
+@Java110ParamsDoc(params = {
+ @Java110ParamDoc(name = "storeId", length = 30, remark = "鐗╀笟缂栧彿"),
+ @Java110ParamDoc(name = "name", length = 64, remark = "鐗╀笟鍚嶇О"),
+ @Java110ParamDoc(name = "tel", length = 11, remark = "鐗╀笟鐢佃瘽"),
+ @Java110ParamDoc(name = "page",type="int", length = 11, remark = "椤垫暟"),
+ @Java110ParamDoc(name = "row",type="int", length = 11, remark = "琛屾暟"),
+})
+
+@Java110ResponseDoc(
+ params = {
+ @Java110ParamDoc(name = "code", type = "int", length = 11, defaultValue = "0", remark = "杩斿洖缂栧彿锛�0 鎴愬姛 鍏朵粬澶辫触"),
+ @Java110ParamDoc(name = "msg", type = "String", length = 250, defaultValue = "鎴愬姛", remark = "鎻忚堪"),
+ @Java110ParamDoc(name = "data", type = "Array", length = 0, defaultValue = "鎴愬姛", remark = "鏁版嵁鑺傜偣"),
+ @Java110ParamDoc(parentNodeName = "data", name = "storeId", length = 30, remark = "鐗╀笟缂栧彿"),
+ @Java110ParamDoc(parentNodeName = "data", name = "name", length = 64, remark = "鐗╀笟鍚嶇О"),
+ @Java110ParamDoc(parentNodeName = "data", name = "nearbyLandmarks", length = 64, remark = "鍦版爣锛屽xx 鍏洯鏃�"),
+ @Java110ParamDoc(parentNodeName = "data", name = "tel", length = 11, remark = "鐗╀笟绠$悊鍛樼數璇� 浣滀负绠$悊鍛樿处鍙峰瘑鐮� 娣诲姞鍚庤鍙婃椂淇敼瀵嗙爜"),
+ @Java110ParamDoc(parentNodeName = "data", name = "address", length = 11, remark = "鍏徃鍦板潃"),
+ @Java110ParamDoc(parentNodeName = "data", name = "corporation", length = 11, remark = "娉曚汉"),
+ @Java110ParamDoc(parentNodeName = "data", name = "foundingTime", length = 11, remark = "鎴愮珛鏃ユ湡"),
+ }
+)
+
+@Java110ExampleDoc(
+ reqBody="http://{ip}:{port}/app/property.listProperty?storeId=&name=&tel=&page=1&row=10",
+ resBody="{'code':0,'msg':'鎴愬姛'}"
+)
/**
* 绫昏〃杩帮細鏌ヨ
* 鏈嶅姟缂栫爜锛歴tore.listStore
--
Gitblit v1.8.0