profileTp.js 978 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import {
  2. myRequest
  3. } from '../request.js'
  4. export default {
  5. //新增资料模板
  6. addbaseprofiletp(data) {
  7. return myRequest({
  8. url: '/base/profile/tp',
  9. method: 'post',
  10. data: data
  11. })
  12. },
  13. //修改资料模板
  14. editbaseprofiletp(data) {
  15. return myRequest({
  16. url: '/base/profile/tp/edit',
  17. method: 'post',
  18. data: data
  19. })
  20. },
  21. //获取所有使用商品ID
  22. getbaseprofiletplist(data) {
  23. return myRequest({
  24. url: '/base/profile/tp/goods_list',
  25. method: 'get',
  26. data: data
  27. })
  28. },
  29. //获取填写资料审核详细信息
  30. getbaseprofiletpgetInfo(data) {
  31. return myRequest({
  32. url: '/base/profile/tp/getInfo',
  33. method: 'get',
  34. data: data
  35. })
  36. },
  37. //查询资料模板列表
  38. getbaseprofiletplists(data) {
  39. return myRequest({
  40. url: '/base/profile/tp/list',
  41. method: 'get',
  42. data: data
  43. })
  44. },
  45. //获取资料模板详细信息
  46. getbaseprofiletpId(data) {
  47. return myRequest({
  48. url: '/base/profile/tp/' + data,
  49. method: 'get'
  50. })
  51. },
  52. }