kit

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDBPropertyChildIds

func GetDBPropertyChildIds(str string) string

GetDBPropertyChildIds 倒序排列

func GetDomain

func GetDomain(c context.Context) string

GetDomain 获取域名

func GetInsertBaseModel

func GetInsertBaseModel(c context.Context) *common.BaseModel

func GetInsertBaseModelWithUserId

func GetInsertBaseModelWithUserId(userId int64) *common.BaseModel

func GetPropIdsByStr

func GetPropIdsByStr(str string) []int64

func GetSessionKey

func GetSessionKey(c context.Context) string

GetSessionKey 获取微信session key

func GetUid

func GetUid(c context.Context) int64

GetUid 真实用户id

func GetUserId

func GetUserId(c context.Context) int64

GetUserId 主账号id

func GetUserInfo

func GetUserInfo(c context.Context) *sys.SysUserModel

GetUserInfo 用户信息

func WithSysUser

func WithSysUser(c context.Context, userInfo *sys.SysUserModel) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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