index.js 400 B

1234567891011121314151617181920212223242526
  1. import request from '@/utils/request'
  2. // 新品首发
  3. export function groom(data, id) {
  4. return request({
  5. url: '/api/groom/list/' + id,
  6. method: 'get',
  7. data
  8. });
  9. }
  10. // 获取首页信息
  11. export function loadIndexs(data) {
  12. return request({
  13. url: '/api/index',
  14. method: 'get',
  15. data
  16. });
  17. }
  18. export function enroll(data) {
  19. return request({
  20. url: '/api/enroll',
  21. method: 'post',
  22. data
  23. });
  24. }