Updata:解决冲突
This commit is contained in:
commit
a3d942135d
11243
api/bundle/bundle.pb.go
11243
api/bundle/bundle.pb.go
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
||||
// Code generated by protoc-gen-go-triple. DO NOT EDIT.
|
||||
// versions:
|
||||
// - protoc-gen-go-triple v1.0.5
|
||||
// - protoc v6.32.0
|
||||
// - protoc v5.26.0
|
||||
// source: pb/bundle.proto
|
||||
|
||||
package bundle
|
||||
|
||||
@ -192,7 +192,7 @@ func MetricsArtistAccountExport(ctx *gin.Context) {
|
||||
utils.CheckDirPath("./runtime/"+fmt.Sprint(userInfo.ID), true)
|
||||
sheet := "Sheet1"
|
||||
f := excelize.NewFile()
|
||||
headers := []string{"序号", "艺人", "用户编号", "DM账号名", "DM账号状态", "Instagram账号名", "Instagram账号状态", "TikTok账号名", "TikTok账号状态"}
|
||||
headers := []string{"序号", "艺人", "用户编号", "DM账号名", "DM账号状态", "Instagram账号名", "Instagram账号状态", "TikTok账号名", "TikTok账号状态", "Bluesky账号名", "Bluesky账号状态", "Youtube账号名", "Youtube账号状态"}
|
||||
for i, h := range headers {
|
||||
col, _ := excelize.ColumnNumberToName(i + 1)
|
||||
cell := col + "1"
|
||||
@ -227,6 +227,10 @@ func MetricsArtistAccountExport(ctx *gin.Context) {
|
||||
_ = write(7, authStatus[it.InsAuthStatus])
|
||||
_ = write(8, it.TiktokNickname)
|
||||
_ = write(9, authStatus[it.TiktokAuthStatus])
|
||||
_ = write(10, it.BlueskyNickname)
|
||||
_ = write(11, authStatus[it.BlueskyAuthStatus])
|
||||
_ = write(12, it.YoutubeNickname)
|
||||
_ = write(13, authStatus[it.YoutubeAuthStatus])
|
||||
}
|
||||
// 可选:设置列宽,使表格更美观
|
||||
_ = f.SetColWidth(sheet, "A", "AZ", 18)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user