Vue WeChat Pay

1. In this project, the single-page application of vue is used to carry out WeChat Pay. After being authorized by Wechat, the redirect jumps to an address bar like
http://wx.baidu.com/?code=02138KA72pfOCJ01MAB72mw9B7238KAZ&state=123-sharp/. If my original payment directory is http://wx.baidu.com/-sharp/pay, and then the address bar after being authorized by Wechat becomes http://wx.baidu.com/?code=02138KA72pfOCJ01MAB72mw9B7238KAZ&state=123-sharp/pay, then how should WeChat Pay"s authorized directory write or change the address bar at the front end of Wechat? kneel and beg for advice. Thank you

.

for example, if the payment directory is' http://www.baidu.com/-sharp/pay directory, then just write' http://www.baidu.com/-sharp/'in the authorized directory of WeChat Pay.


Wechat is not friendly to SPA's jump. It is recommended that you authorize login in another way.
there is also a hole in the payment directory
refer to this article


change the route pattern, remove the -sharp number, and try

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b223ca-db4b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b223ca-db4b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?