登录接口

This commit is contained in:
2020-10-09 14:31:10 +08:00
parent 2a1e290d12
commit e9a37efe02
4 changed files with 29 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
import axios from 'axios'
axios.defaults.baseURL = 'http://beelink.com/home/';
axios.defaults.baseURL = '/beelink/public/home/';
axios.defaults.headers.common['Authorization'] = 'token';
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';