package permissionservicelogic import ( "context" "ark-permission/gen_result/pb/permission" "ark-permission/internal/svc" "github.com/zeromicro/go-zero/core/logx" ) type MapPermissionStatusLogic struct { ctx context.Context svcCtx *svc.ServiceContext logx.Logger } func NewMapPermissionStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *MapPermissionStatusLogic { return &MapPermissionStatusLogic{ ctx: ctx, svcCtx: svcCtx, Logger: logx.WithContext(ctx), } } // MapPermissionStatus 取得所有權限開閉狀態,簡易版,給前端表演用 func (l *MapPermissionStatusLogic) MapPermissionStatus(in *permission.NoneReq) (*permission.MapPermissionStatusResp, error) { // todo: add your logic here and delete this line return &permission.MapPermissionStatusResp{}, nil }