|
|
@@ -14,8 +14,10 @@ axios.interceptors.request.use(
|
|
|
let replacedStr = replaceAll(baseStr, splitStrList[splitStrList.length - 1], "")
|
|
|
let authStr = md5(replacedStr)
|
|
|
|
|
|
- config.data.timestamp = timestamp
|
|
|
- config.data.auth = authStr
|
|
|
+ config.data.auth = {
|
|
|
+ timestamp: timestamp,
|
|
|
+ auth: authStr
|
|
|
+ }
|
|
|
|
|
|
config.headers['content-type'] = 'application/json'
|
|
|
|