integral.js 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. import request from '@/utils/request' //引入axios请求及拦截器
  2. export default {
  3. //新增商户店铺管理
  4. addmallstore(data) {
  5. return request({
  6. url: '/mall/store',
  7. method: 'post',
  8. data
  9. })
  10. },
  11. //修改商户店铺管理
  12. editmallstore(data) {
  13. return request({
  14. url: '/mall/store/edit',
  15. method: 'post',
  16. data
  17. })
  18. },
  19. //查询商户店铺管理列表
  20. mallstorelist(data) {
  21. return request({
  22. url: '/mall/store/list',
  23. method: 'get',
  24. params: data
  25. })
  26. },
  27. //获取商户店铺管理详细信息
  28. mallstoredata(data) {
  29. return request({
  30. url: `/mall/store/` + data,
  31. method: 'get',
  32. })
  33. },
  34. //商户恢复密码
  35. mallstorerestorePwd(data) {
  36. return request({
  37. url: '/mall/store/restorePwd',
  38. method: 'post',
  39. data
  40. })
  41. },
  42. //商户修改密码
  43. mallstoreupdatePwd(data) {
  44. return request({
  45. url: '/mall/store/updatePwd',
  46. method: 'post',
  47. data
  48. })
  49. },
  50. }