We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我有一个url为/user/list/ 的api,现在的mockurl是类似http://api2.crap.cn/mock/trueExam.do?id=62428b9c-591e-4082-8fd5-ccc593e436be这种形式,可以改成前缀+/user/list/ 的形式吗?方便开发环境和线上环境的同步
/user/list/
http://api2.crap.cn/mock/trueExam.do?id=62428b9c-591e-4082-8fd5-ccc593e436be
The text was updated successfully, but these errors were encountered:
url中可能携带?等其他参数,需要转义,容易出问题
Sorry, something went wrong.
也是,但是现在这种情况前端在开发的时候在api调用这层可能就需要写两套代码,调用mock api的一套url,最终调用后端提供的api一套url。在api数量比较多的情况下,这个工作量也是比较大的,有什么好的办法解决这个问题吗?这这套平台的基础之上
No branches or pull requests
我有一个url为
/user/list/
的api,现在的mockurl是类似http://api2.crap.cn/mock/trueExam.do?id=62428b9c-591e-4082-8fd5-ccc593e436be
这种形式,可以改成前缀+/user/list/
的形式吗?方便开发环境和线上环境的同步The text was updated successfully, but these errors were encountered: