dao

package
v0.0.0-...-7253f33 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	sys.User
}

func (*User) BeforeSave

func (userModel *User) BeforeSave(tx *gorm.DB) (err error)

BeforeSave GORM 的模型钩子,在创建和更新模型前调用,用于密码加密

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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