Commit 60f2495b by zhujian

fix

parent 0a2dd726
...@@ -134,17 +134,11 @@ ...@@ -134,17 +134,11 @@
} }
function postJSON(url, data, callback) { function postJSON(url, data, callback) {
const ajaxOptions = { const ajaxOptions = {
data: JSON.stringify(data), data: JSON.stringify(data),
type: 'POST', type: 'GET',
url: BASIC_HOST_MAP[env] + url, url: BASIC_HOST_MAP[env] + url + `?corpType=${corpType}`,
contentType: 'application/json; charset=UTF-8', contentType: 'application/json; charset=UTF-8',
timeout: 20000, timeout: 20000,
dataType: 'json', dataType: 'json',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment