diff --git a/src/api/cai/user.js b/src/api/cai/user.js index 371b8d8..8a45c78 100644 --- a/src/api/cai/user.js +++ b/src/api/cai/user.js @@ -130,3 +130,44 @@ export function userBindInvite(userId,inviteUsercode) { } }) } + +export function lockIm(userId) { + return request({ + url: '/cai/user/lockIm', + method: 'get', + params:{ + userId + } + }) +} + +export function unLockIm(userId) { + return request({ + url: '/cai/user/unLockIm', + method: 'get', + params:{ + userId + } + }) +} + +export function noSpeckIm(userId) { + return request({ + url: '/cai/user/noSpeckIm', + method: 'get', + params:{ + userId + } + }) +} + +export function enSpeckIm(userId) { + return request({ + url: '/cai/user/enSpeckIm', + method: 'get', + params:{ + userId + } + }) +} + diff --git a/src/views/cai/user/index.vue b/src/views/cai/user/index.vue index f999e59..741ec63 100644 --- a/src/views/cai/user/index.vue +++ b/src/views/cai/user/index.vue @@ -120,6 +120,14 @@ + + +