1
0

feat: 合并Gin_Vue

This commit is contained in:
TsMask
2023-10-16 20:04:08 +08:00
parent 55fe1d534d
commit 05c7e9b9e8
213 changed files with 20338 additions and 311 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,
}
}