douyinUserInfo.js 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import request from '@/utils/request'
  2. // 查询抖音用户信息列表
  3. export function listDouyinUserInfo(query) {
  4. return request({
  5. url: '/model/douyin/userInfo/list',
  6. method: 'get',
  7. params: query
  8. })
  9. }
  10. // 查询抖音用户信息详细
  11. export function getDouyinUserInfo(userId) {
  12. return request({
  13. url: '/model/douyin/userInfo/' + userId,
  14. method: 'get'
  15. })
  16. }
  17. // 新增抖音用户信息
  18. export function addDouyinUserInfo(data) {
  19. return request({
  20. url: '/model/douyin/userInfo',
  21. method: 'post',
  22. data: data
  23. })
  24. }
  25. // 更新监控状态
  26. export function updateMonitorState(data) {
  27. return request({
  28. url: '/model/douyin/userInfo/updateMonitorState',
  29. method: 'post',
  30. data: data
  31. })
  32. }
  33. // 修改抖音用户信息
  34. export function updateDouyinUserInfo(data) {
  35. return request({
  36. url: '/model/douyin/userInfo',
  37. method: 'put',
  38. data: data
  39. })
  40. }
  41. // 删除抖音用户信息
  42. export function delDouyinUserInfo(userId) {
  43. return request({
  44. url: '/model/douyin/userInfo/' + userId,
  45. method: 'delete'
  46. })
  47. }