佰川加油
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

42 lines
872 B

import request from '@/utils/request'
const service_name = "oil-identity"
const group_name = "weChatAuthorization"
export default {
autoLogin (data,url) {
return request({
url: `/${service_name}/${group_name}/${url}`,
method: 'post',
data:data
})
},
sendCode (code) {
return request({
url: `/${service_name}/${group_name}/sendCode`,
method: 'post',
data:{
code:code,
appId:'wxc1d226ac9c5bea36'
}
})
},
bindLoginByPhone (data,url) {
return request({
url: `/${service_name}/${group_name}/${url}`,
method: 'post',
data:{
...data,
appId:'wxc1d226ac9c5bea36'
}
})
},
decryptPhoneNumber (data) {
return request({
url: `/${service_name}/${group_name}/decryptWeChatPhoneData`,
method: 'post',
data:data
})
}
}