mirror of
https://github.com/yangjian102621/geekai.git
synced 2025-11-07 09:43:43 +08:00
opt: adjust styles for ItemList component, cut string for chat role's hello message
This commit is contained in:
@@ -78,8 +78,8 @@ func (h *ChatRoleHandler) List(c *gin.Context) {
|
||||
resp.SUCCESS(c, roleVos)
|
||||
}
|
||||
|
||||
// AddRole 为用户添加角色
|
||||
func (h *ChatRoleHandler) AddRole(c *gin.Context) {
|
||||
// UpdateRole 更新用户聊天角色
|
||||
func (h *ChatRoleHandler) UpdateRole(c *gin.Context) {
|
||||
user, err := utils.GetLoginUser(c, h.db)
|
||||
if err != nil {
|
||||
resp.NotAuth(c)
|
||||
|
||||
Reference in New Issue
Block a user