Merge branch 'feature/增加机构名称简称' into feature/开门红

# Conflicts:
#	src/assets/js/utils/request.js
This commit is contained in:
mengxiaolong
2020-12-03 11:37:02 +08:00
67 changed files with 1640 additions and 391 deletions

View File

@@ -25,6 +25,15 @@ export function saveOrUpdateInfo(data) {
data
})
}
export function getTokenForUserModel(data) {
return request({
url: getUrl('/agent/enter/getTokenForAgent', 1),
method: 'get',
data
})
}
// //查询二次分享数据
// export function getTokenForUserModel(data) {
// console.log('查询二次分享', data)

View File

@@ -29,13 +29,13 @@ export function history(data) {
}
// //历史报案详情接口
// export function historyDetail(data) {
// return request({
// url: getUrl(`/claim/claimReport/historyDetail`, 1),
// method: 'post',
// data
// })
// }
export function historyDetail(data) {
return request({
url: getUrl(`/claim/claimReport/historyDetail`, 1),
method: 'get',
data
})
}
//理赔申请
export function apply(data) {

View File

@@ -62,3 +62,31 @@ export function wxShare(data) {
data
})
}
//验证代理人访问
export function checkEnterPower(data) {
return request({
url: getUrl('/customer/agent/checkEnterPower', 1),
method: 'post',
data
})
}
// 获取验证码
export function getAuthCode(data) {
return request({
url: getUrl('/customer/authcode/loginedSend', 1),
method: 'post',
data
})
}
// 获取代理人信息
export function getCheckModelAgentInfo(data) {
return request({
// url: getUrl('/agent/agent/info', 0),
url: getUrl('/customer/agent/info', 1),
method: 'post',
data
})
}

View File

@@ -56,3 +56,31 @@ export function queryPrivacy(data) {
data
})
}
//获取隐私政策
export function queryPrivacyNot(data) {
return request({
// url: getUrl('/agent/income/info', 0),
url: getUrl('/customer/privacy/queryPrivacy', 1),
method: 'post',
data
})
}
//注销用户
export function logoutAgent(data) {
return request({
url: getUrl('/customer/account/logoutAgent', 1),
method: 'post',
data
})
}
//登录用户
export function loginTest(data) {
return request({
url: getUrl('/customer/account/login', 1),
method: 'post',
data
})
}