| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- import request from '@/utils/request'
- const service = window.lwConfig.services.wecom
- const local = window.lwConfig.services.system
- //微信客户
- // 查询微信客户列表(分页)
- export function findWeCustomerUserList(params) {
- return request({
- url: service+'/we/customerUser/findWeCustomerUserList',
- method: 'get',
- params
- })
- }
- // 查看微信客户详情接口
- export function findWeCustomerUserBaseInfo(params) {
- return request({
- url: service+'/we/customerUser/findWeCustomerUserBaseInfo',
- method: 'get',
- params
- })
- }
- // 绑定用户
- export function customerBindUser(id, data) {
- return request({
- url: service + '/we/customerUser/bindUser/'+id + '?userId=' + data,
- method: 'post'
- })
- }
- // 解绑用户
- export function customerUnbindUser(id) {
- return request({
- url: service + '/we/customerUser/unbindUser/'+id,
- method: 'post'
- })
- }
- // 绑定用户可选的数据
- export function userList() {
- return request({
- url: service + '/we/user/findUserList ',
- method: 'get',
- })
- }
|