Coder Social home page Coder Social logo

Comments (5)

fly2leoo avatar fly2leoo commented on August 19, 2024

本地部署也有同样的问题,例如以下请求
http://127.0.0.1:8080/app/mock/16/GET/example/1520095481062
得到结果{
"isOk": false,
"errMsg": "未匹配到任何接口 No matched interface"
}

from rap2-dolores.

fly2leoo avatar fly2leoo commented on August 19, 2024

好吧... 问题已解决

dolores模块,src/component/editor/InterfaceSummary.jsx
Line 42: <Link to={${serve}/app/mock/${repository.id}/${itf.method}/${itf.url}} target='_blank'>{itf.url}

把变量${itf.method}/ 删除掉,然后重新编译

from rap2-dolores.

alvarto avatar alvarto commented on August 19, 2024

问题的核心在于 rap2 为了支持 restful 的接口设计,会在mock时加入method,但在某个更新之后引入了bug导致method匹配不上了。

from rap2-dolores.

lokikyou avatar lokikyou commented on August 19, 2024

补充一下,测试按钮需要改rap2-delos中的文件
public/libs/jquery.rap.js
将41行中的${match.method}给去掉

from rap2-dolores.

Bosn avatar Bosn commented on August 19, 2024

fixed

from rap2-dolores.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.