Browse Source

1.新增官方sign验证
2.跳转机器人绑定关系

(cherry picked from commit 40f0127de322991751838a2dfe283953510b28eb)

zhengtao 8 months ago
parent
commit
5169c86f7a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      game/game_cluster/nodes/game/module/player/actor_player.go

+ 1 - 1
game/game_cluster/nodes/game/module/player/actor_player.go

@@ -356,7 +356,7 @@ func (p *actorPlayer) uploadPhotoToS3(client *http.Client, botToken, fileId stri
 	// 上传文件到 S3
 	_, err = uploader.Upload(&s3manager.UploadInput{
 		Bucket: aws.String(s3.BucketName),                        // S3 存储桶名称
-		Key:    aws.String(fmt.Sprintf("avator/%d.jpg", openid)), //当前目录存储文件
+		Key:    aws.String(fmt.Sprintf("avatar/%d.jpg", openid)), //当前目录存储文件
 		Body:   resp.Body,
 		ACL:    aws.String("private"), // 可以根据需要设置 ACL
 	})