Recently met pay treasure to download photos to the local server, baidu, is uploaded to the oss, without a detailed code, after two days of hard work, with the help of the ant technology customer service finally succeeded, so I want to write this article, can give other troubled the friend of a little help
The first is a small program code
Next is the back-end code
Hope to be of
Later found emulator and lock is the difference between real machine debugging, so the following is a true machine and line code
The first is a small program code
Back-end code (forced into JPG file, can also be a PNG)