Explorar el Código

update 修改验证码路径适配 cloud ;

Michelle.Chung hace 2 años
padre
commit
452972c1e4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/api/login.ts

+ 1 - 1
src/api/login.ts

@@ -54,7 +54,7 @@ export function logout() {
  */
 export function getCodeImg(): AxiosPromise<VerifyCodeResult> {
   return request({
-    url: '/code',
+    url: '/auth/code',
     headers: {
       isToken: false
     },