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.
36 lines
836 B
36 lines
836 B
2 years ago
|
import request from '@/utils/request'
|
||
|
const service_name = "cloud-site-service"
|
||
|
const group_name = "cloudSite"
|
||
|
export default {
|
||
|
// 获取企业列表
|
||
|
companyJoinSite(oilSiteId) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/companyJoinSite/${oilSiteId}`,
|
||
|
method: 'get'
|
||
|
})
|
||
|
},
|
||
|
// 获取企业二维码
|
||
|
getCompanyQrCode(data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/getCompanyQrCode`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
// 获取模拟司机的二维码
|
||
|
getQrCode(id) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/getQrCode/${id}`,
|
||
|
method: 'get'
|
||
|
})
|
||
|
},
|
||
|
// 根据车牌/手机号/司机Id获取加油司机信息
|
||
|
getUserMegByCarNo(data) {
|
||
|
return request({
|
||
|
url: `/${service_name}/${group_name}/getUserMegByCarNo`,
|
||
|
method: 'post',
|
||
|
data: data
|
||
|
})
|
||
|
},
|
||
|
}
|