Explorar el Código

fix: 登录接口修改

chenzhen2 hace 2 años
padre
commit
23928fff1e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/apis/user.ts

+ 1 - 1
src/apis/user.ts

@@ -24,5 +24,5 @@ export const getCompanyUsers = () => {
  * @returns 
  */
 export const login = (data: any) => {
-  return https().request(`server/login`, Method.POST, data, ContentType.json)
+  return https().request(`/server/login`, Method.POST, data, ContentType.json)
 }