system

package
v1.15.15 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrencyConfigHandler

func GetCurrencyConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetCurrencyConfigHandler documents Get Currency Config.

@Summary Get Currency Config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.CurrencyConfig} @Router /v1/admin/system/currency_config [get]

func GetInviteConfigHandler

func GetInviteConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetInviteConfigHandler documents Get invite config.

@Summary Get invite config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.InviteConfig} @Router /v1/admin/system/invite_config [get]

func GetModuleConfigHandler added in v1.2.0

func GetModuleConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetModuleConfigHandler documents Get Module Config.

@Summary Get Module Config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.ModuleConfig} @Router /v1/admin/system/module [get]

func GetNodeConfigHandler

func GetNodeConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetNodeConfigHandler documents Get node config.

@Summary Get node config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.NodeConfig} @Router /v1/admin/system/node_config [get]

func GetNodeMultiplierHandler

func GetNodeMultiplierHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetNodeMultiplierHandler documents Get Node Multiplier.

@Summary Get Node Multiplier @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.GetNodeMultiplierResponse} @Router /v1/admin/system/get_node_multiplier [get]

func GetPrivacyPolicyConfigHandler

func GetPrivacyPolicyConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetPrivacyPolicyConfigHandler documents get Privacy Policy Config.

@Summary get Privacy Policy Config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.PrivacyPolicyConfig} @Router /v1/admin/system/privacy [get]

func GetRegisterConfigHandler

func GetRegisterConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetRegisterConfigHandler documents Get register config.

@Summary Get register config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.RegisterConfig} @Router /v1/admin/system/register_config [get]

func GetSiteConfigHandler

func GetSiteConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetSiteConfigHandler documents Get site config.

@Summary Get site config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.SiteConfig} @Router /v1/admin/system/site_config [get]

func GetSubscribeConfigHandler

func GetSubscribeConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetSubscribeConfigHandler documents Get subscribe config.

@Summary Get subscribe config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.SubscribeConfig} @Router /v1/admin/system/subscribe_config [get]

func GetTosConfigHandler

func GetTosConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetTosConfigHandler documents Get Team of Service Config.

@Summary Get Team of Service Config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.TosConfig} @Router /v1/admin/system/tos_config [get]

func GetVerifyCodeConfigHandler

func GetVerifyCodeConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetVerifyCodeConfigHandler documents Get Verify Code Config.

@Summary Get Verify Code Config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.VerifyCodeConfig} @Router /v1/admin/system/verify_code_config [get]

func GetVerifyConfigHandler

func GetVerifyConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

GetVerifyConfigHandler documents Get verify config.

@Summary Get verify config @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.VerifyConfig} @Router /v1/admin/system/verify_config [get]

func PreViewNodeMultiplierHandler added in v1.1.4

func PreViewNodeMultiplierHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

PreViewNodeMultiplierHandler documents PreView Node Multiplier.

@Summary PreView Node Multiplier @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean{data=dto.PreViewNodeMultiplierResponse} @Router /v1/admin/system/node_multiplier/preview [get]

func SetNodeMultiplierHandler

func SetNodeMultiplierHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

SetNodeMultiplierHandler documents Set Node Multiplier.

@Summary Set Node Multiplier @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.SetNodeMultiplierRequest true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/set_node_multiplier [post]

func SettingTelegramBotHandler

func SettingTelegramBotHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

SettingTelegramBotHandler documents setting telegram bot.

@Summary setting telegram bot @Tags admin @Produce json @Security BearerAuth @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/setting_telegram_bot [post]

func UpdateCurrencyConfigHandler

func UpdateCurrencyConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateCurrencyConfigHandler documents Update Currency Config.

@Summary Update Currency Config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.CurrencyConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/currency_config [put]

func UpdateInviteConfigHandler

func UpdateInviteConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateInviteConfigHandler documents Update invite config.

@Summary Update invite config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.InviteConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/invite_config [put]

func UpdateNodeConfigHandler

func UpdateNodeConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateNodeConfigHandler documents Update node config.

@Summary Update node config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.NodeConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/node_config [put]

func UpdatePrivacyPolicyConfigHandler

func UpdatePrivacyPolicyConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdatePrivacyPolicyConfigHandler documents Update Privacy Policy Config.

@Summary Update Privacy Policy Config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.PrivacyPolicyConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/privacy [put]

func UpdateRegisterConfigHandler

func UpdateRegisterConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateRegisterConfigHandler documents Update register config.

@Summary Update register config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.RegisterConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/register_config [put]

func UpdateSiteConfigHandler

func UpdateSiteConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateSiteConfigHandler documents Update site config.

@Summary Update site config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.SiteConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/site_config [put]

func UpdateSubscribeConfigHandler

func UpdateSubscribeConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateSubscribeConfigHandler documents Update subscribe config.

@Summary Update subscribe config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.SubscribeConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/subscribe_config [put]

func UpdateTosConfigHandler

func UpdateTosConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateTosConfigHandler documents Update Team of Service Config.

@Summary Update Team of Service Config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.TosConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/tos_config [put]

func UpdateVerifyCodeConfigHandler

func UpdateVerifyCodeConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateVerifyCodeConfigHandler documents Update Verify Code Config.

@Summary Update Verify Code Config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.VerifyCodeConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/verify_code_config [put]

func UpdateVerifyConfigHandler

func UpdateVerifyConfigHandler(svcCtx *svc.ServiceContext) app.HandlerFunc

UpdateVerifyConfigHandler documents Update verify config.

@Summary Update verify config @Tags admin @Accept json @Produce json @Security BearerAuth @Param request body dto.VerifyConfig true "Request parameters" @Success 200 {object} result.ResponseSuccessBean @Router /v1/admin/system/verify_config [put]

Types

This section is empty.

Jump to

Keyboard shortcuts

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