File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 66package controller
77
88import (
9+ "fmt"
910 "gotribe-admin/internal/app/repository"
1011 "gotribe-admin/internal/pkg/common"
1112 "gotribe-admin/internal/pkg/model"
@@ -210,7 +211,7 @@ func (pc ConfigController) BatchDeleteConfigByIds(c *gin.Context) {
210211 response .ValidationFail (c , errStr )
211212 return
212213 }
213-
214+ fmt . Println ( req . ConfigIds )
214215 // 前端传来的配置ID
215216 reqConfigIds := strings .Split (req .ConfigIds , "," )
216217 err := pc .ConfigRepository .BatchDeleteConfigByIds (reqConfigIds )
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ type AdminInfoDto struct {
1515 Avatar string `json:"avatar"`
1616 Nickname string `json:"nickname"`
1717 Introduction string `json:"introduction"`
18+ Status uint `json:"status"`
1819 Roles []* model.Role `json:"roles"`
1920}
2021
@@ -26,6 +27,7 @@ func ToAdminInfoDto(user model.Admin) AdminInfoDto {
2627 Avatar : user .Avatar ,
2728 Nickname : * user .Nickname ,
2829 Introduction : * user .Introduction ,
30+ Status : user .Status ,
2931 Roles : user .Roles ,
3032 }
3133}
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ func ToColumnInfoDto(column model.Column) ColumnDto {
2727 Description : column .Description ,
2828 Info : column .Info ,
2929 Icon : column .Icon ,
30+ ProjectID : column .ProjectID ,
3031 CreatedAt : column .CreatedAt .Format (known .TIME_FORMAT ),
3132 }
3233}
You can’t perform that action at this time.
0 commit comments