摘要:
[HttpGet] public void Info() { //获取到token var token = HttpContext.Request.Headers["Authorization"].FirstOrDefault()?.Split(" ").Last(); //解析token信息 va 阅读全文
摘要:
需要安装 axios,qs yarn add axios npm i axios cnpm i axios yarn add qs npm i qs cnpm i qs 在src/API/axios.ts import axios from 'axios'; import qs from "qs"; 阅读全文