fex-team / fis3

FIS3
http://fis.baidu.com
BSD 2-Clause "Simplified" License
2.79k stars 693 forks source link

[mock]server.conf rewrite配置无效 #788

Open felemon opened 8 years ago

felemon commented 8 years ago

按如下截图步骤mock数据, http://127.0.0.1:8080/mock/sample.json,http://127.0.0.1:8080/mock/server.conf 都可以访问。 但 http://127.0.0.1:8080/api/user 访问404,应该是server.conf配置没生效,怎么解决?

qq 20160615182325

2betop commented 8 years ago

fis3 版本?

2betop commented 8 years ago

如果不是最新的就升级到最新的 fis3 3.4.13 吧,原来不是放在 mock/server.conf 目录的而是, config/server.conf 目录的,现在两个目录都识别。

felemon commented 8 years ago

FIS3版本v3.3.21,升级到最新版本后可以了,多谢~

以后文档里有涉及版本兼容的,最好能标注下

Edward1992 commented 7 years ago

Fis3版本v3.4.26,server.conf 放在config下,也遇到了相同的问题。

oxUnd commented 7 years ago

配置看看 Edward notifications@github.com于2016年12月12日 周一10:52写道:

Fis3版本v3.4.26,server.conf 放在config下,也遇到了相同的问题。

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/fex-team/fis3/issues/788#issuecomment-266332248, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmhm0JjAanFwS-fKvZjlgdPKJNoDfyuks5rHLbxgaJpZM4I2Nlj .