Commit 8bb4240b by 张立顺

fix bug

1 parent aa620f96
...@@ -66,7 +66,8 @@ const getStaffList = params => { ...@@ -66,7 +66,8 @@ const getStaffList = params => {
} }
// 企微高级群聊列表 // 企微高级群聊列表
const getGroupList = params => { const getGroupList = params => {
params.method = `entmicro.api.wechatcloudcontrol.batchmessaging.group.list` // params.method = `entmicro.api.wechatcloudcontrol.batchmessaging.group.list`
params.method = `entmicro.api.wechatcloudcontrol.activityreport.worktool.grouplist`
return http({ return http({
url: url1, url: url1,
method: 'POST', method: 'POST',
......
...@@ -72,7 +72,8 @@ const getStaffList = params => { ...@@ -72,7 +72,8 @@ const getStaffList = params => {
} }
// 企微高级群聊列表 // 企微高级群聊列表
const getGroupList = params => { const getGroupList = params => {
params.method = `entmicro.api.wechatcloudcontrol.batchmessaging.group.list` // params.method = `entmicro.api.wechatcloudcontrol.batchmessaging.group.list`
params.method = `entmicro.api.wechatcloudcontrol.activityreport.worktool.grouplist`
return http({ return http({
url: url1, url: url1,
method: 'POST', method: 'POST',
...@@ -84,39 +85,39 @@ const getGroupList = params => { ...@@ -84,39 +85,39 @@ const getGroupList = params => {
// 分页查询驻店员工群聊配置 // 分页查询驻店员工群聊配置
const getStaffCofList = params => { const getStaffCofList = params => {
params.method = `scrm.api.boutiquecoupon.rop.router` params.method = `scrm.api.boutiquecoupon.rop.router`
params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.listStaffWithPage' params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.listStaffWithPage'
return http({ return http({
url: 'rop-scrm-boutiquecoupon/router', url: 'rop-scrm-boutiquecoupon/router',
method: 'post', method: 'post',
data: params, data: params,
sign: true sign: true
}) })
} }
// 查询广联数科商户下角色列表 // 查询广联数科商户下角色列表
const getGlskMerchantRole = params => { const getGlskMerchantRole = params => {
params.method = `scrm.api.boutiquecoupon.rop.router` params.method = `scrm.api.boutiquecoupon.rop.router`
params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.getGlskMerchantRole' params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.getGlskMerchantRole'
return http({ return http({
url: 'rop-scrm-boutiquecoupon/router', url: 'rop-scrm-boutiquecoupon/router',
method: 'post', method: 'post',
data: params, data: params,
sign: true sign: true
}) })
} }
// 更新驻店员工群聊配置 // 更新驻店员工群聊配置
const updateStaffConfig = params => { const updateStaffConfig = params => {
params.method = `scrm.api.boutiquecoupon.rop.router` params.method = `scrm.api.boutiquecoupon.rop.router`
params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.updateStaffConfig' params.routerMethod = 'dj.api.smarcarlife.MerchantActionReportConfig.updateStaffConfig'
return http({ return http({
url: 'rop-scrm-boutiquecoupon/router', url: 'rop-scrm-boutiquecoupon/router',
method: 'post', method: 'post',
data: params, data: params,
sign: true, sign: true,
returnAll: true returnAll: true
}) })
} }
export default { getStaffList, getMerchantList, getlistDepartmentTree, getYqReportlist, updateYqConfig, insertStaff, getGroupList, getStaffCofList, getGlskMerchantRole, updateStaffConfig } export default { getStaffList, getMerchantList, getlistDepartmentTree, getYqReportlist, updateYqConfig, insertStaff, getGroupList, getStaffCofList, getGlskMerchantRole, updateStaffConfig }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!