How to call and modify Mini Program avatar interface on third-party platform

I use Mini Program"s appid to get the token and then call the API for uploading temporary material through a third-party platform. When I call the API to modify Mini Program"s profile picture, I return Code ":"-1 "," Message ":" system error. In the past few days, I have tried many ways, but none of them work. I hope you can give me some advice. thank you!

Apr.11,2021

there is something wrong with the coordinates I passed. The coordinate values of the X axis should be the range from X1 to X2, and the Y coordinates are similar.

Menu