RussellCao

Results 1 issues of RussellCao

刚下载了代码,发现在swagger页面中调用/auth一直显示 `404 page not found`。 查看代码发现,在routers/router.go中,/auth路由定义的是POST方法,而swagger页面中显示的是GET方法。 ![image](https://user-images.githubusercontent.com/40130894/88913128-f2df4c80-d292-11ea-8ebd-e2d7099ca89f.png) ![image](https://user-images.githubusercontent.com/40130894/88913176-01c5ff00-d293-11ea-99db-081776cae853.png) 之后,我在postman中使用post方法,带参数请求/auth,还是显示 `404 page not found`。 ![image](https://user-images.githubusercontent.com/40130894/88913264-27530880-d293-11ea-9ba5-6cfdbe87987d.png) 请问一下,是我使用的姿势不对吗?感谢。