|
|
|
@ -1,17 +1,24 @@ |
|
|
|
|
import request from '@/utils/request' |
|
|
|
|
const service_name ='oil-identity' |
|
|
|
|
const group_name ='weChatCloudAuthorization' |
|
|
|
|
const service_name ='xkhl-identity' |
|
|
|
|
const group_name ='unionAuth' |
|
|
|
|
const Customer_name = 'oilCustomerChannelRelation' |
|
|
|
|
const WchatLogin_name ='weChatCloudAuthorization' |
|
|
|
|
export default{ |
|
|
|
|
// 新登录接口 手机密码登录
|
|
|
|
|
loginByPhonePwd (data) { |
|
|
|
|
return request({ |
|
|
|
|
url: `/${service_name}/${group_name}/loginByPhonePwd`, |
|
|
|
|
url: `/${service_name}/${group_name}/loginPwd`, |
|
|
|
|
method: 'post', |
|
|
|
|
data:data |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 新登录接口 手机密码登录
|
|
|
|
|
logout () { |
|
|
|
|
return request({ |
|
|
|
|
url: `/${service_name}/${group_name}/logout`, |
|
|
|
|
method: 'get', |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
// 获取用户信息
|
|
|
|
|
sendCode(code){ |
|
|
|
|
return request({ |
|
|
|
|