mat-rap-verify

1.0.8 • Public • Published

mat-rap-verify

npm version

Installation

npm install --save-dev mat-rap-verify

Usage

var mat = require('mat')
var rap = require('mat-rap')
var rapVerify = require('mat-rap-verify')
 
mat.url([/api\//, /api2\//])
  .use(rapVerify({
      projectId: matProjectId,
      rapVersion: rapVersion,
      isRap: true
  }))
  .use(rap({
      rapVersion: rapVersion,
      projectId: matProjectId
  }))

Options

  • projectId

    type: number

    Rap平台对应建立的项目id

  • rapVersion

    type: string

    rap平台的版本,默认为1

  • isRap

    type: boolean

    是否为rap模式,默认为false

Readme

Keywords

none

Package Sidebar

Install

npm i mat-rap-verify

Weekly Downloads

0

Version

1.0.8

License

ISC

Unpacked Size

8.35 kB

Total Files

4

Last publish

Collaborators

  • chongzhi