loginApi.js
439 Bytes
import http from '../request/http'
import { env } from '../../env'
module.exports = {
getLoginUrl () {
return http.uni_request({ url: `https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=ww-ai-market-config&env=${env}` })
},
getCorpInfo () {
return http.shukeRequest('linkwechat-api/auth/findAgentId')
},
login (data) {
return http.shukeRequest('linkwechat-api/auth/qrLogin', data, 'GET', true)
}
}