userinfo报404错误,谁知道怎么解决
Request URL:http://localhost:8000/api/v1/userInfo Request Method:GET Status Code:404 Not Found Remote Address:[::1]:8000
检查你的config.js
需要检查哪块了,config.js也没报错,baseURL: 'http://localhost:8000/api/v1',
@yanghong1105 这些都有吗 apiPrefix: '/api/v1', api: { userLogin: '/user/login', userLogout: '/user/logout', userInfo: '/userInfo', users: '/users', dashboard: '/dashboard', },
都有, baseURL: 'http://localhost:8000/api/v1', YQL: ['http://www.zuimeitianqi.com'], CORS: ['http://localhost:7001'], openPages: ['/login'], apiPrefix: '/api/v1', api: { userLogin: '/user/login', userLogout: '/user/logout', userInfo: '/userInfo', users: '/users', dashboard: '/dashboard', },
请看README的注意