1.0.3 • Published 1 year ago

faas-mock v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

基于faas的mock小工具

前提: 1. 使用YApi接口管理平台 2. 项目对接faas 3. 安装mockjs 4. 项目根目录下创建配置文件mockInterface.js

使用: 1. npm i faas-mock 2. 在主文件main.js中引入 3. 配置文件

export const mockInterfaceData =  [
  {
    url: '**/**/**', // 服务/**/**
    type: 'get' // 请求方式
  }
]
1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago