Commit d721e082 by zhujian

fix:合并分支冲突

parent 19486d4a
......@@ -109,7 +109,7 @@
if (!code) {
GetJSON('hades/anon/hades/getCorpTrainSuiteId', { }, (res) => {
GetJSON('hades/anon/hades/getCorpTrainSuiteId', (res) => {
const url = `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${res.result}&redirect_uri=${encodeURIComponent(location.href)}&response_type=code&scope=snsapi_privateinfo&state=STATE#wechat_redirect`
location.href = url
})
......@@ -134,9 +134,8 @@
}
function GetJSON(url, data, callback) {
function GetJSON(url, callback) {
const ajaxOptions = {
data: JSON.stringify(data),
type: 'GET',
url: BASIC_HOST_MAP[env] + url+`?corpType=${corpType}`,
contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
......
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