change: disable ppe

This commit is contained in:
lilong.129 2023-09-20 20:40:45 +08:00
parent 41dec89d85
commit bc7388544f
1 changed files with 2 additions and 2 deletions

View File

@ -258,8 +258,8 @@ func (s *veDEMImageService) GetImage(imageBuf *bytes.Buffer, options ...ActionOp
}
// ppe env
req.Header.Add("x-tt-env", "ppe_vedem_algorithm")
req.Header.Add("x-use-ppe", "1")
// req.Header.Add("x-tt-env", "ppe_vedem_algorithm")
// req.Header.Add("x-use-ppe", "1")
signToken := "UNSIGNED-PAYLOAD"
token := builtin.Sign("auth-v2", env.VEDEM_IMAGE_AK, env.VEDEM_IMAGE_SK, []byte(signToken))