Compare commits
No commits in common. "4773caf295c9a708ae8ee98706ac919f726eb423" and "015ed265e617ae472c66b5e7c2d2fb608b1c50ca" have entirely different histories.
4773caf295
...
015ed265e6
@ -46,15 +46,7 @@ func MediaUserList(ctx *gin.Context) {
|
||||
return
|
||||
}
|
||||
go func() {
|
||||
seen := make(map[string]struct{})
|
||||
for _, v := range resp.Data {
|
||||
if v.ArtistUuid == "" {
|
||||
continue
|
||||
}
|
||||
if _, ok := seen[v.ArtistUuid]; ok {
|
||||
continue
|
||||
}
|
||||
seen[v.ArtistUuid] = struct{}{}
|
||||
_ = SyncAsAuth(v.ArtistUuid)
|
||||
}
|
||||
}()
|
||||
@ -243,9 +235,6 @@ func UpdateMediaAccount(ctx *gin.Context) {
|
||||
}
|
||||
return
|
||||
}
|
||||
go func() {
|
||||
_, _ = service.CastProvider.Tools(context.Background(), &cast.ToolsReq{Action: "artistOrderInfo", ArtistUuid: req.ArtistUuid})
|
||||
}()
|
||||
service.Success(ctx, resp)
|
||||
return
|
||||
}
|
||||
|
||||
@ -17,16 +17,6 @@ import (
|
||||
func Test(ctx *gin.Context) {
|
||||
action := ctx.PostForm("action")
|
||||
if action == "" {
|
||||
userResp, err := service.AyrshareProvider.GetUser(context.Background(), &aryshare.GetUserRequest{
|
||||
ProfileKey: "6BCA2754-C726400F-936E5DF7-F76117E3",
|
||||
InstagramDetails: true,
|
||||
})
|
||||
if err != nil {
|
||||
service.Error(ctx, err)
|
||||
return
|
||||
}
|
||||
service.Success(ctx, userResp)
|
||||
return
|
||||
}
|
||||
|
||||
if action == "getPost" {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user