dev_aliyun2
harry 5 years ago
parent 77c1f04d35
commit 21e8f84897

@ -156,9 +156,9 @@ export function initAxiosInterceptors(props) {
let newopens = md5(opens + timestamp)
config.url = `${proxy}${url}`;
if (config.url.indexOf('?') == -1) {
config.url = `${config.url}?randomcode=${timestamp}&client_key=${newopens}`;
config.url = `${config.url}?debug=${debugType}&randomcode=${timestamp}&client_key=${newopens}`;
} else {
config.url = `${config.url}&&randomcode=${timestamp}&client_key=${newopens}`;
config.url = `${config.url}debug=${debugType}&randomcode=${timestamp}&client_key=${newopens}`;
}
} else {
railsgettimes(`/api/main/first_stamp.json`);

Loading…
Cancel
Save