1.1.4 • Published 6 years ago
egg-aliyun-api-gateway-full v1.1.4
egg-aliyun-api-gateway
Install
use npm
$ npm i egg-aliyun-api-gateway-full --saveuse yarn
$ yarn add egg-aliyun-api-gateway-fullUsage
// {app_root}/config/plugin.js
exports.aliyunApiGateway = {
enable: true,
package: 'egg-aliyun-api-gateway',
};Configuration
// {app_root}/config/config.default.js
exports.aliyunApiGateway = {
appKey: 'your appKey',
appSecret: 'your appSecret',
stage : 'RELEASE', //default 'RELEASE'
verbose : true // default true, true means return result with request and response。
};see config/config.default.js for more detail.
Example
Questions & Suggestions
Please open an issue here.