Browse Source

fix: 登录接口修改

chenzhen2 2 years ago
parent
commit
23928fff1e
1 changed files with 1 additions and 1 deletions
  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)
 }