What if the sha 1 in js and php is different when encrypting Chinese? How to deal with it! ! !
The front-end EncodeURI Chinese, so that Chinese will become characters, English, numbers, and then encrypted with sha 1, which will be consistent with php, and then restored to Chinese with urldecode at the back-end. The URL encoding function of front-end and back-end is different, which needs attention.