|
@@ -29,7 +29,7 @@ export const encryptionFun = ({raw, body, appId, AppSecret}) => {
|
|
const paramsStr = _initSign.slice(1, _initSign.length) + AppSecret
|
|
const paramsStr = _initSign.slice(1, _initSign.length) + AppSecret
|
|
let str = ''
|
|
let str = ''
|
|
if (raw) {
|
|
if (raw) {
|
|
- str += raw
|
|
|
|
|
|
+ str += decodeURIComponent(raw)
|
|
}
|
|
}
|
|
if (body && Object.keys(body).length) {
|
|
if (body && Object.keys(body).length) {
|
|
str += decodeURIComponent(JSON.stringify(body))
|
|
str += decodeURIComponent(JSON.stringify(body))
|