partnerlist.js 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. import request from '@/utils/request'
  2. // 查询店铺信息列表
  3. // export function listpartner(data) {
  4. // return request({
  5. // url: '/system/goodsNotice/list',
  6. // method: 'post',
  7. // data: data
  8. // })
  9. // }
  10. export function listpartner(query) {
  11. return request({
  12. url: '/system/goodsNotice/list',
  13. method: 'post',
  14. params: query
  15. })
  16. }
  17. // 查询店铺信息详细
  18. export function getpartner(id) {
  19. return request({
  20. url: '/system/partner/' + id,
  21. method: 'get'
  22. })
  23. }
  24. // 修改店铺信息
  25. export function updatepartner(data) {
  26. return request({
  27. url: '/system/goodsNotice/updateGoodsNotice',
  28. method: 'put',
  29. data: data
  30. })
  31. }
  32. // 查询商品信息列表
  33. export function getInitGoodsManager(query) {
  34. return request({
  35. url: '/system/AppWebManagerGoodsController/getInitGoodsManager',
  36. method: 'get',
  37. params: query
  38. })
  39. }
  40. // 查询商品信息列表
  41. export function notice(data) {
  42. return request({
  43. url: '/system/goodsNotice/notice',
  44. method: 'post',
  45. data: data
  46. })
  47. }
  48. export function noticeNumber() {
  49. return request({
  50. url: '/system/goodsNotice/noticeNumber',
  51. method: 'post',
  52. })
  53. }
  54. // 下架调用接口
  55. export function noticedown(data) {
  56. return request({
  57. url: '/system/goodsNotice/down',
  58. method: 'post',
  59. data: data
  60. })
  61. }
  62. // 传图调用接口
  63. export function noticeupload(data) {
  64. return request({
  65. url: '/system/goodsNotice/upload',
  66. method: 'post',
  67. data: data
  68. })
  69. }
  70. // 更新合作方
  71. export function noticeupdate(data) {
  72. return request({
  73. url: '/system/goodsNotice/update',
  74. method: 'post',
  75. data: data
  76. })
  77. }