Эх сурвалжийг харах

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

Michelle.Chung 2 жил өмнө
parent
commit
452972c1e4
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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
     },