展品维保小程序前端代码接口
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
487 B

2 weeks ago
  1. // import request from "@/api/request";
  2. import http from "@/api/http";
  3. export default {
  4. // 社区- 获取帖子列表
  5. async queryPostList(data) {
  6. return http({
  7. url: '/comment/queryPostList',
  8. method: 'GET',
  9. data,
  10. noToken: true,
  11. debounce: 200,
  12. })
  13. },
  14. // 社区- 上传帖子
  15. async addPost(data) {
  16. return http({
  17. url: '/comment/addPost',
  18. method: 'POST',
  19. data,
  20. showLoading: true,
  21. // noToken: true
  22. })
  23. }
  24. }