记住你要用token 以后必须都带着token,不管post(token写在headers里面,参数写在body)还是get(token写在headers里面)
获取token 要么post,要么get,参数要么写在header要么写在body!!!格式要么form-data要么json!!!
post 获取token http://47.92.195.192/oauth/token
获取其他接口:http://47.92.195.192/api/userMachineSet/bindInfo
写一个post的token和字段:
axios.post(`${url}/api/Account/ChangePassword`,{id:this.props.loginid,password:this.state.usernewpassword},
{