Merge branch 'main' into feature-userinfo-daiyb
This commit is contained in:
commit
6c7a8eb654
@ -186,11 +186,10 @@ func UpdateMediaAccount(ctx *gin.Context) {
|
||||
service.Error(ctx, errors.New("用户不存在"))
|
||||
return
|
||||
}
|
||||
//FIXME 临时取出关联第三方
|
||||
/*if err = CheckAsProfile(infoResp); err != nil {
|
||||
if err = CheckAsProfile(infoResp); err != nil {
|
||||
service.Error(ctx, err)
|
||||
return
|
||||
}*/
|
||||
}
|
||||
req.ArtistName = infoResp.Name
|
||||
req.ArtistPhone = infoResp.TelNum
|
||||
req.ArtistPhoneAreaCode = infoResp.TelAreaCode
|
||||
@ -259,11 +258,10 @@ func OAuthAccount(ctx *gin.Context) {
|
||||
service.Error(ctx, errors.New("未找到该账号"))
|
||||
return
|
||||
}
|
||||
//FIXME
|
||||
/*if err = SyncAsAuth(mediaResp.Data[0].ArtistUuid); err != nil {
|
||||
if err = SyncAsAuth(mediaResp.Data[0].ArtistUuid); err != nil {
|
||||
service.Error(ctx, err)
|
||||
return
|
||||
}*/
|
||||
}
|
||||
if resp, err = service.CastProvider.OAuthAccountV2(ctx, req); err != nil {
|
||||
service.Error(ctx, err)
|
||||
return
|
||||
@ -639,8 +637,7 @@ func ImportMediaAccount(ctx *gin.Context) {
|
||||
excelSetRemark(excelData, line, fmt.Sprintf("%s:%s", dmName, err.Error()))
|
||||
}
|
||||
}
|
||||
// FIXME 临时关闭同步ayr
|
||||
//_ = CheckAsProfile(subInfoResp)
|
||||
_ = CheckAsProfile(subInfoResp)
|
||||
}
|
||||
// 保存Excel文件到磁盘
|
||||
resultPath := fmt.Sprintf("./runtime/media/%s", fileName)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user