profileTp.js 807 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. getbaseprofiletplists(data) {
  31. return myRequest({
  32. url: '/base/profile/tp/list',
  33. method: 'get',
  34. data: data
  35. })
  36. },
  37. //获取资料模板详细信息
  38. getbaseprofiletpId(data) {
  39. return myRequest({
  40. url: '/base/profile/tp/' + data,
  41. method: 'get'
  42. })
  43. },
  44. }