Update test.go
This commit is contained in:
parent
6c7a8eb654
commit
2f99d7d64a
@ -156,6 +156,15 @@ func Test(ctx *gin.Context) {
|
||||
}
|
||||
service.Success(ctx, "ok")
|
||||
}
|
||||
if action == "SyncAsAuth" {
|
||||
artistUuid := ctx.PostForm("artistUuid")
|
||||
err := SyncAsAuth(artistUuid)
|
||||
if err != nil {
|
||||
service.Error(ctx, err)
|
||||
return
|
||||
}
|
||||
service.Success(ctx, "ok")
|
||||
}
|
||||
|
||||
service.Success(ctx, "unknow")
|
||||
return
|
||||
|
||||
Loading…
Reference in New Issue
Block a user