Skip to content

Commit

Permalink
权限处理
Browse files Browse the repository at this point in the history
  • Loading branch information
TruthHun committed Jan 30, 2024
1 parent 6af4a26 commit 52332f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions model/data.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@ func getPermissions() (permissions []Permission) {
{Title: "删除广告", Description: "", Method: "GRPC", Path: "/api.v1.AdvertisementAPI/DeleteAdvertisement"},
{Title: "获取搜索记录列表", Description: "", Method: "GRPC", Path: "/api.v1.SearchRecordAPI/ListSearchRecord"},
{Title: "删除搜索记录", Description: "", Method: "GRPC", Path: "/api.v1.SearchRecordAPI/DeleteSearchRecord"},
{Title: "更新评论", Description: "", Method: "GRPC", Path: "/api.v1.CommentAPI/UpdateComment"},
{Title: "文档审核", Description: "", Method: "GRPC", Path: "/api.v1.DocumentAPI/CheckDocument"},
}
return
}

0 comments on commit 52332f3

Please sign in to comment.