system

package
v1.0.16 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 27, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DictionaryValue

type DictionaryValue struct {
	Keyword string  `json:"keyword"`
	Label   string  `json:"label"`
	Value   string  `json:"value"`
	Type    *string `json:"type"`
	Extra   *string `json:"extra"`
}

type GetSystemSettingReply

type GetSystemSettingReply struct {
	Debug              bool               `json:"debug"`
	Title              string             `json:"title"`
	Desc               string             `json:"desc"`
	Copyright          string             `json:"copyright"`
	ChangePasswordType string             `json:"changePasswordType"`
	Watermark          string             `json:"watermark"`
	Dictionaries       []*DictionaryValue `json:"dictionaries"`
}

type GetSystemSettingRequest

type GetSystemSettingRequest struct {
}

type Repo

type Repo interface {
	// GetDictionaryValues 获取指定标识集合的值
	GetDictionaryValues(ctx kratosx.Context, keywords []string) ([]*DictionaryValue, error)
}

type UseCase

type UseCase struct {
	// contains filtered or unexported fields
}

func NewUseCase

func NewUseCase(config *conf.Config, repo Repo) *UseCase

func (*UseCase) GetSystemSetting

GetSystemSetting 获取系统设置

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL