mirror of
				https://github.com/dromara/RuoYi-Vue-Plus.git
				synced 2025-11-04 08:13:44 +08:00 
			
		
		
		
	登录/验证码请求headers不设置token
This commit is contained in:
		@@ -10,6 +10,9 @@ export function login(username, password, code, uuid) {
 | 
			
		||||
  }
 | 
			
		||||
  return request({
 | 
			
		||||
    url: '/login',
 | 
			
		||||
    headers: {
 | 
			
		||||
      isToken: false
 | 
			
		||||
    },
 | 
			
		||||
    method: 'post',
 | 
			
		||||
    data: data
 | 
			
		||||
  })
 | 
			
		||||
@@ -47,6 +50,9 @@ export function logout() {
 | 
			
		||||
export function getCodeImg() {
 | 
			
		||||
  return request({
 | 
			
		||||
    url: '/captchaImage',
 | 
			
		||||
    headers: {
 | 
			
		||||
      isToken: false
 | 
			
		||||
    },
 | 
			
		||||
    method: 'get',
 | 
			
		||||
    timeout: 20000
 | 
			
		||||
  })
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user