feat: 合并Gin_Vue

This commit is contained in:
TsMask
2023-10-16 17:10:38 +08:00
parent 5289818fd4
commit 40a32cb67f
203 changed files with 19719 additions and 178 deletions

View File

@@ -0,0 +1,15 @@
package model
// SysUserPost 用户和岗位关联对象 sys_user_post
type SysUserPost struct {
UserID string `json:"userId"` // 用户ID
PostID string `json:"postId"` // 岗位ID
}
// NewSysUserPost 创建用户和岗位关联对象的构造函数
func NewSysUserPost(userID string, postID string) SysUserPost {
return SysUserPost{
UserID: userID,
PostID: postID,
}
}