2.0.5 • Published 5 years ago

egg-yhsd-api v2.0.5

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

egg-yhsd-api

NPM version build status Test coverage David deps Known Vulnerabilities npm download

Install

$ npm i egg-yhsd-api --save

Usage

// {app_root}/config/plugin.js
exports.yhsdApi = {
  enable: true,
  package: 'egg-yhsd-api',
};

Configuration

// {app_root}/config/config.default.js
exports.yhsdApi = {
  client: {  // client必须要
      // 测试
      appKey: '***',
      appSecret: '****',
      private: true,
      topics: {
        'products/create': `${host}/hook/products/create`, //  商品创建
      }
    },
};

see config/config.default.js for more detail.

Example

Questions & Suggestions

Please open an issue here.

License

MIT

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.9

5 years ago

1.0.7

5 years ago

1.0.6

5 years ago

1.0.5

5 years ago

1.0.4

5 years ago