1.0.3 • Published 3 years ago

faas-mock v1.0.3

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years 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

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago