index.js 217 B

1234567891011
  1. import request from "@/utils/request"; // 注册方法
  2. export function register(data) {
  3. return request({
  4. url: "/register",
  5. headers: {
  6. isToken: false,
  7. },
  8. method: "post",
  9. data: data,
  10. });
  11. }