export const getUserInfo = () => { return: 'GET', url: '/app/v123/user', // 發送請求請求頭數據 headers: { // 注意: 該接口需要授權才能訪問 // token的數據格式: Bearer token 數據,注意 Bearer 后面有 Authorization: `Bearer ${store.state.user.token}` } }
export const getUserInfo = () => { return: 'GET', url: '/app/v123/user', // 發送請求請求頭數據 headers: { // 注意: 該接口需要授權才能訪問 // token的數據格式: Bearer token 數據,注意 Bearer 后面有 Authorization: `Bearer ${store.state.user.token}` } }
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。