diff --git a/LICENSE b/LICENSE
index 261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64..d9dd9501f70236b5127298bc821cb6171d127e9d 100644
--- a/LICENSE
+++ b/LICENSE
@@ -186,7 +186,7 @@
same "printed page" as the copyright notice for easier
identification within third-party archives.
- Copyright [yyyy] [name of copyright owner]
+ Copyright 2019 JiZhao Jiang
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
diff --git a/README-zh_CN.md b/README-zh_CN.md
index 40e5053229d559de9507ece92e68177eb930dcb6..81e8ef5e53cb33ec31f4a322420521294f1d1496 100644
--- a/README-zh_CN.md
+++ b/README-zh_CN.md
@@ -179,7 +179,8 @@ go run main.go;
- api管理:不同用户可调用的api接口的权限不同。
- 配置管理:配置文件可前台修改(测试环境不开放此功能)。
- 富文本编辑器:MarkDown编辑器功能嵌入。
-- 条件搜索:增加条件搜索示例。
+- 条件搜索:增加条件搜索示例。
+- restful示例:参考客户管理功能,customer组api。
```
前端文件参考: src\view\superAdmin\api\api.vue
后台文件参考: model\dnModel\api.go
diff --git a/README.md b/README.md
index eb09d47e60b0beb1f8940eab4c93bcdfe0b4adcd..a97469af045356337e0df393651c2efa80ccce85 100644
--- a/README.md
+++ b/README.md
@@ -177,6 +177,8 @@ go run main.go;
- Configuration management: The configuration file can be modified in the web page (the test environment does not provide this function).
- Rich text editor: Embed MarkDown editor function.
- Conditional search: Add an example of conditional search.
+- Restful example: refer to customer management function and apidcustomer group.
+
```
fontend code file: src\view\superAdmin\api\api.vue
backend code file: model\dnModel\api.go
diff --git a/server/service/sys_api.go b/server/service/sys_api.go
index cec3ab920106dff2b2d2a691eda292a29785f667..71e25897b0eec65a393aa69f180d46632581b39f 100644
--- a/server/service/sys_api.go
+++ b/server/service/sys_api.go
@@ -61,6 +61,10 @@ func GetAPIInfoList(api model.SysApi, info request.PageInfo, order string, desc
db = db.Where("method = ?", api.Method)
}
+ if api.ApiGroup != "" {
+ db = db.Where("api_group = ?", api.ApiGroup)
+ }
+
err = db.Find(&apiList).Count(&total).Error
if err != nil {
diff --git a/web/src/view/superAdmin/api/api.vue b/web/src/view/superAdmin/api/api.vue
index 6925a37d6b014b4d851ac60b1ec4a4b4f33b89a9..98d383fc7d5ab566c8bff1fd57918c91c43974ca 100644
--- a/web/src/view/superAdmin/api/api.vue
+++ b/web/src/view/superAdmin/api/api.vue
@@ -8,6 +8,9 @@
+
+
+