user

package
v1.3.11 Latest Latest
Warning

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

Go to latest
Published: May 9, 2026 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EncryptPayKeyFailed = "加密支付密码失败"
)

Variables

This section is empty.

Functions

func HandleUpdateSingleUserGamificationScore

func HandleUpdateSingleUserGamificationScore(ctx context.Context, t *asynq.Task) error

HandleUpdateSingleUserGamificationScore 处理用户积分更新任务

func HandleUpdateUserGamificationScores

func HandleUpdateUserGamificationScores(ctx context.Context, t *asynq.Task) error

HandleUpdateUserGamificationScores 处理所有用户积分更新任务

func UpdatePayKey

func UpdatePayKey(c *gin.Context)

UpdatePayKey 更新用户支付密钥 @Tags user @Accept json @Produce json @Param request body UpdatePayKeyRequest true "request body" @Success 200 {object} util.ResponseAny @Router /api/v1/user/pay-key [put]

Types

type UpdatePayKeyRequest

type UpdatePayKeyRequest struct {
	PayKey string `json:"pay_key" binding:"required,max=6"`
}

UpdatePayKeyRequest 更新支付密钥请求

Jump to

Keyboard shortcuts

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