Explorar o código

fix: 登录接口修改

chenzhen2 %!s(int64=2) %!d(string=hai) anos
pai
achega
23928fff1e
Modificáronse 1 ficheiros con 1 adicións e 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)
 }