diff --git a/api/agent.js b/api/agent.js index 1e6f507..a3574b1 100644 --- a/api/agent.js +++ b/api/agent.js @@ -12,9 +12,14 @@ export function inviteSupplierJoinQrCode(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}`); diff --git a/api/supplier.js b/api/supplier.js index 8aebf5b..0393a63 100644 --- a/api/supplier.js +++ b/api/supplier.js @@ -8,7 +8,7 @@ export function supplierApplyJoin(data) { export function supplierApplyRecord(data) { return request.post(`supplier/apply_record`, data); } -// 入驻申请记录 +// 单条申请信息 export function supplierApplyInfo(data) { return request.get(`supplier/apply_info`, data); } diff --git a/config/app.js b/config/app.js index e76d97b..6a45260 100644 --- a/config/app.js +++ b/config/app.js @@ -6,13 +6,13 @@ let VUE_APP_WS_URL = `ws://${location.hostname}?type=user` let openPlantGrass = '-openPlantGrass-' // 网络接口修改此字符 小程序域名要求https -let httpApi = 'https://bt.test.cdlfjy.com/' // 开发 -// let httpApi = 'https://mp.scwmbh.cn/' // 生产 +// let httpApi = 'https://bt.test.cdlfjy.com/' // 开发 +let httpApi = 'https://mp.scwmbh.cn/' // 生产 // 聊天接口修改此字符 小程序聊天要求wss 例如: -let wsApi = 'wss://bt.test.cdlfjy.com' -// let wsApi = 'wss://mp.scwmbh.cn' +// let wsApi = 'wss://bt.test.cdlfjy.com' +let wsApi = 'wss://mp.scwmbh.cn' module.exports = { diff --git a/pages.json b/pages.json index 8f3b044..d954c34 100644 --- a/pages.json +++ b/pages.json @@ -1335,11 +1335,13 @@ "style": { "navigationBarTitleText": "邀请下级" } + }, + { + "path": "invite/record", + "style": { + "navigationBarTitleText": "申请记录" + } } - - - - ] }, { @@ -1358,10 +1360,6 @@ "navigationBarTitleText": "申请记录" } } - - - - ] } diff --git a/pages/agent/invite/index.vue b/pages/agent/invite/index.vue index a191fa5..deae6fd 100644 --- a/pages/agent/invite/index.vue +++ b/pages/agent/invite/index.vue @@ -1,7 +1,12 @@