https #114

Merged
theluyuan merged 1 commits from xbx into master 2020-11-03 06:57:03 +00:00

View File

@ -1,6 +1,6 @@
import { getValue } from '@/utils/common';
import axios from 'axios'
axios.defaults.baseURL = 'http://case.sy-my.net/beelink/public/home/';
axios.defaults.baseURL = 'https://case.sy-my.net/beelink/public/home/';
axios.defaults.headers.common['Authorization'] = "Bearer " + getValue("token");
axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';