107 lines
3.0 KiB
JavaScript
107 lines
3.0 KiB
JavaScript
import request from "@/utils/request.js";
|
|
|
|
// 代理中心 - 代理列表
|
|
export function myAgentList(data) {
|
|
return request.get('agent/agent_list',data);
|
|
}
|
|
// 代理中心 - 邀请二维码
|
|
export function inviteSupplierJoinQrCode(data) {
|
|
return request.get('agent/qr_code_invite',data);
|
|
}
|
|
// 代理中心 - 我的邀请
|
|
export function getMyInvite(data) {
|
|
return request.get(`agent/my_invite`, data);
|
|
}
|
|
// 代理中心 - 修改资源股东
|
|
export function updateShareholders(data) {
|
|
return request.post(`agent/update_shareholders`, data);
|
|
}
|
|
// 代理加入 - 提交申请信息
|
|
export function submitAgentApplyInfo(data) {
|
|
return request.post('agent/agent_apply',data);
|
|
}
|
|
// 入驻申请记录
|
|
export function agentApplyRecord(data) {
|
|
return request.post(`agent/apply_record`, data);
|
|
}
|
|
// 单条申请信息
|
|
export function agentApplyInfo(data) {
|
|
return request.get(`agent/apply_info`, data);
|
|
}
|
|
// 获取单条代理人员信息
|
|
export function getSingleAgentInfo(id) {
|
|
return request.get(`agent/single_agent_info/${id}`);
|
|
}
|
|
// 获取配置信息
|
|
export function getAgentConfig() {
|
|
return request.get(`agent/get_config`);
|
|
}
|
|
// 佣金明细
|
|
export function commissionList(data) {
|
|
return request.get(`agent/commission_list`, data);
|
|
}
|
|
// 各类型的代理身份列表(总部运营、省运营、区县运营)
|
|
export function identityList() {
|
|
return request.get(`agent/identity_list`);
|
|
}
|
|
// 获取代理角色及相关角色
|
|
export function roleAndCorrelationRole(data) {
|
|
return request.get(`agent/role_and_correlation_role`, data);
|
|
}
|
|
|
|
|
|
// 配送商 - 获取缴费列表
|
|
export function deliveryPaymentList(data) {
|
|
return request.get(`agent/delivery/payment_list`, data);
|
|
}
|
|
// 配送商 - 请求进行缴费
|
|
export function deliveryCreateOrder(data) {
|
|
return request.post(`agent/delivery/create_order`, data);
|
|
}
|
|
// 配送商 - 缴费记录
|
|
export function deliveryPaymentRecord(data) {
|
|
return request.get(`agent/delivery/payment_record`, data);
|
|
}
|
|
// 配送商 - 获取相关商户列表
|
|
export function deliveryMerList(data) {
|
|
return request.get(`agent/delivery/mer_list`, data);
|
|
}
|
|
// 配送商 - 分配缴费记录
|
|
export function deliveryAllocationOrder(data) {
|
|
return request.post(`agent/delivery/allocation_order`, data);
|
|
}
|
|
|
|
|
|
// 法大大 - 获取个人授权信息
|
|
export function contractAuthInfo(data) {
|
|
return request.get(`contract/auth_info`, data);
|
|
}
|
|
// 法大大 - 获取个人合同签署信息
|
|
export function contractSignInfo(data) {
|
|
return request.get(`contract/get_sign_info`, data);
|
|
}
|
|
// 法大大 - 拒绝后重新发起合同签署
|
|
export function contractAgainSign(data) {
|
|
return request.get(`contract/again_sign`, data);
|
|
}
|
|
|
|
|
|
// 缴费账单 - 账单信息获取
|
|
export function agentPayRecordInfo(data) {
|
|
return request.get(`agent/pay_record/get_info`, data);
|
|
}
|
|
// 缴费账单 - 生成缴费订单
|
|
export function agentPayRecordCreateOrder(data) {
|
|
return request.post(`agent/pay_record/pay`, data);
|
|
}
|
|
// 缴费账单 - 申请退款
|
|
export function agentPayRecordApplyRefund(data) {
|
|
return request.post(`agent/pay_record/refund`, data);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|