1.0.4 • Published 7 years ago

egg-yhsd-api v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
7 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

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.2

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago

1.0.9

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago