Explorar o código

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

Michelle.Chung %!s(int64=2) %!d(string=hai) anos
pai
achega
452972c1e4
Modificáronse 1 ficheiros con 1 adicións e 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
     },