package permissionservicelogic import ( "context" "ark-permission/gen_result/pb/permission" "ark-permission/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type GetPermissionStatusByPathLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewGetPermissionStatusByPathLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPermissionStatusByPathLogic { return &GetPermissionStatusByPathLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // GetPermissionStatusByPath 透過資源拿取角色的狀態 func (l *GetPermissionStatusByPathLogic) GetPermissionStatusByPath(in *permission.GetPermissionStatusByPathReq) (*permission.PermissionStatusItem, error) { // todo: add your logic here and delete this line return &permission.PermissionStatusItem{}, nil }