123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- package v1
- import (
- "property-applete-gateway/param/base"
- "property-applete-gateway/pb/v1"
- )
- type AllPermissionRequest struct {
- base.Header
- }
- type AllPermissionResponse struct {
- base.Result
- Data v1.SystemPermissionListReply `json:"data"`
- }
- type GroupAddBody struct {
- PermissionCodes []string `form:"permission_codes" json:"permission_codes"`
- GroupName string `form:"group_name" json:"group_name"`
- GroupDesc string `form:"group_desc" json:"group_desc"`
- }
- type GroupAddRequest struct {
- base.Header
- GroupAddBody
- }
- type GroupAddResponse struct {
- base.Result
- Data v1.GroupAddReply `json:"data"`
- }
- type GroupUpdateBody struct {
- Id int64 `form:"id"`
- PermissionCodes []string `form:"permission_codes" json:"permission_codes"`
- GroupName string `form:"group_name" json:"group_name"`
- GroupDesc string `form:"group_desc" json:"group_desc"`
- }
- type GroupUpdateRequest struct {
- base.Header
- GroupUpdateBody
- }
- type GroupUpdateResponse struct {
- base.Result
- }
- type GroupDelQuery struct {
- Id int64 `form:"id"`
- }
- type GroupDelRequest struct {
- base.Header
- GroupDelQuery
- }
- type GroupDelResponse struct {
- base.Result
- }
- type GroupListRequest struct {
- base.Header
- }
- type GroupListResponse struct {
- base.Result
- Data v1.GroupListReply `json:"data"`
- }
- type GroupInfoQuery struct {
- Id int64 `form:"id"`
- }
- type GroupInfoRequest struct {
- base.Header
- GroupInfoQuery
- }
- type GroupInfoResponse struct {
- base.Result
- Data v1.GroupInfoReply `json:"data"`
- }
|