| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182 | 
							- 'use strict';
 
- /**
 
-  * 开发环境相关配置
 
-  *
 
-  * @author CaiAoLin
 
-  * @date 2017/8/29
 
-  * @version
 
-  */
 
- module.exports = appInfo => {
 
-     const config = {};
 
-     // 数据库配置
 
-     config.mysql = {
 
-         client: {
 
-             // host
 
-             host: '127.0.0.1',
 
-             // 端口号
 
-             port: '3306',
 
-             // 用户名
 
-             user: 'zh_calc',
 
-             // 密码
 
-             password: 'calc2019',
 
-             // 数据库名
 
-             database: 'calculation',
 
-         },
 
-         // 是否加载到 app 上,默认开启
 
-         app: true,
 
-         // 是否加载到 agent 上,默认关闭
 
-         agent: false,
 
-     };
 
-     // 表名前缀
 
-     config.tablePrefix = 'zh_';
 
-     // redis设置
 
-     config.redis = {
 
-         client: {
 
-             host: '127.0.0.1',
 
-             port: '6379',
 
-             password: 'zongheng2019',
 
-             db: '0',
 
-         },
 
-         agent: true,
 
-         version: '1.0.0',
 
-     };
 
-     // session配置
 
-     config.session = {
 
-         key: 'ZHC_SESS',
 
-         maxAge: 7 * 24 * 3600 * 1000, // 7天
 
-         httpOnly: true,
 
-         encrypt: true,
 
-         //renew: true, // session临近过期更新过期时间
 
-         rolling: true, // 每次都更新session有效期
 
-     };
 
-     config.oss = {
 
-         clients: {
 
-             signPdf: {
 
-                 bucket: 'measure-sign-pdf',
 
-             },
 
-             fujian: {
 
-                 bucket: 'jiliang-qa',
 
-             },
 
-         },
 
-         default: {
 
-             accessKeyId: 'LTAIALMjBHOs9PLA',
 
-             accessKeySecret: 'HSnULQs87wAJhcziAdyRv3GZ4EYctc',
 
-             endpoint: 'oss-cn-shenzhen.aliyuncs.com',
 
-             timeout: '60s',
 
-         },
 
-     };
 
-     config.fujianOssPath = 'https://jiliang-qa-oss-cdn.smartcost.com.cn/qa/';
 
-     config.fujianOssFolder = 'qa/';
 
-     // 自带接口系统地址
 
-     config.syncUrl = 'http://jlqa.smartcost.com.cn:7169/';
 
-     config.is_debug = true;
 
-     return config;
 
- };
 
 
  |