index.js 730 B

12345678910111213141516171819202122232425262728293031
  1. import { request } from "@/utils/request";
  2. export const findSceneNumber = (data) => {
  3. return request({
  4. url: `/ucenter/user/scene/findSceneNumber`,
  5. method: "post",
  6. data,
  7. config: {
  8. timeout: 10000,
  9. loading: true,//隐藏进度条
  10. headers: {
  11. "Content-Type": "application/json;charset=UTF-8",
  12. },
  13. },
  14. });
  15. };
  16. export const findIncrementList = (data) => {
  17. return request({
  18. url: `/ucenter/user/increment/findIncrementList`,
  19. method: "post",
  20. data,
  21. config: {
  22. timeout: 10000,
  23. loading: true,//隐藏进度条
  24. headers: {
  25. "Content-Type": "application/json;charset=UTF-8",
  26. },
  27. },
  28. });
  29. };