加密字符串传值时把+号过滤掉了的解决办法

myData.replace(/\+/g, '%2B');

C#后端可接收到正确的字符串。

posted @ 2022-04-14 13:18  James·wang  阅读(214)  评论(0)    收藏  举报