Browse Source

fix:save 13

jimmyyem 5 months ago
parent
commit
8376ca485f
2 changed files with 4 additions and 14 deletions
  1. 4 12
      desc/wechat/category.api
  2. 0 2
      desc/wechat/employee.api

+ 4 - 12
desc/wechat/category.api

@@ -46,18 +46,6 @@ type (
 )
 
 @server(
-	jwt: Auth
-	group: category
-	middleware: Miniprogram
-)
-
-service Wechat {
-	// Get category list | 获取 category 列表
-	@handler getApiCategoryList
-	post /api/category/list returns (CategoryListResp)
-}
-
-@server(
     group: category
 )
 
@@ -69,6 +57,10 @@ service Wechat {
     // Get category by ID | 通过ID获取Category
     @handler getCategoryById
     post /category (IDReq) returns (CategoryInfoResp)
+
+	// Get category list | 获取 category 列表
+	@handler getApiCategoryList
+	post /api/category/list returns (CategoryListResp)
 }
 
 @server(

+ 0 - 2
desc/wechat/employee.api

@@ -114,9 +114,7 @@ type (
 )
 
 @server(
-	jwt: Auth
 	group: employee
-	middleware: Miniprogram
 )
 
 service Wechat {