查看 接口项目mock

Doclever 接口mock 操作 随笔 第1张

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

查看说明

Doclever 接口mock 操作 随笔 第2张

 

假设 本机项目路径为  http://localhost:8080

>> 启动 node

node net.js http://org.my.com/mock/5c80b952cd2951002667d113 http://localhost:8080

Doclever 接口mock 操作 随笔 第3张

 

>> 接口说明:

Doclever 接口mock 操作 随笔 第4张

 

开发中的才可以进行Mock

 

>> 进行mock接口调用   

Doclever 接口mock 操作 随笔 第5张

 常见问题:

1、错误提示:接口或者项目未找到,转调真实接

浏览器地址栏中不用使用参数   如: **/selectOrgId?orgId=123  报错

 

扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄