fix: wecom types agent
CI / changes (push) Successful in 12s
CI / ad (push) Successful in 0s
CI / admin (push) Successful in 0s
CI / bff (push) Successful in 3s
CI / chore (push) Successful in 0s
CI / express (push) Successful in 0s
CI / product (push) Successful in 1s
CI / sale (push) Successful in 0s
CI / user (push) Successful in 0s
CI / wecom (push) Successful in 31s

This commit is contained in:
zzw
2026-08-31 14:22:46 +08:00
parent 90a195c9ca
commit 1d41d7ca7e
15 changed files with 349 additions and 48 deletions
+19
View File
@@ -0,0 +1,19 @@
package dao
import "lone-services/pkg/utils"
// WecomAgent 企业微信应用
type WecomAgent struct {
Id int64 `gorm:"column:id;primaryKey;autoIncrement" json:"id"`
Name string `gorm:"column:name" json:"name"`
AgentId int64 `gorm:"column:agent_id" json:"agent_id"`
CreatedAt utils.CustomTime `gorm:"column:created_at" json:"created_at"`
}
// AgentListItem 应用列表项
type AgentListItem struct {
Id int64 `json:"id"`
Name string `json:"name"`
AgentId int64 `json:"agent_id"`
CreatedAt string `json:"created_at"`
}
+6
View File
@@ -39,3 +39,9 @@ type UserListItem struct {
CreatedAt string `json:"created_at"`
UpdatedAt string `json:"updated_at"`
}
// UserTypeOption 用户类型选项(前端下拉)
type UserTypeOption struct {
Value uint8 `json:"value"`
Label string `json:"label"`
}