1
This commit is contained in:
52
config/template/config.ejs
Normal file
52
config/template/config.ejs
Normal file
@@ -0,0 +1,52 @@
|
||||
{
|
||||
|
||||
"platformApiUrl": "http://auto.light120.com/api",
|
||||
"project_key": "<%=project_key%>",
|
||||
"jwtkey": "9233358!@#",
|
||||
"port": {
|
||||
"node": 9091,
|
||||
"web": 9090
|
||||
},
|
||||
"allowUrls": ["/admin_api/sys_user/login", "/admin_api/sys_user/authorityMenus", "/admin_api/sys_user/register", "/api/user/loginByWeixin", "/file/", "/sys_file/"],
|
||||
|
||||
"fileConifg": {
|
||||
"vue": {
|
||||
"api": "../../admin/src/api/",
|
||||
"view": "../../admin/src/view/"
|
||||
},
|
||||
"node": {
|
||||
"controller": "../controller_admin/",
|
||||
"model": "../model/"
|
||||
}
|
||||
},
|
||||
"db":{
|
||||
"username": "<%=config.db.username%>",
|
||||
"password": "<%=config.db.password%>",
|
||||
"database": "<%=config.db.database%>",
|
||||
"host": "<%=config.db.host%>",
|
||||
"port": <%=config.db.port%>,
|
||||
"dialect": "<%=config.db.dialect%>"
|
||||
},
|
||||
"wechat":{
|
||||
"appid": "<%=config.wechat.appid%>",
|
||||
"secret": "<%=config.wechat.secret%>",
|
||||
"mch_id": "<%=config.wechat.mch_id%>",
|
||||
"partner_key": "<%=config.wechat.partner_key%>",
|
||||
"partnerV3_key": "<%=config.wechat.partnerV3_key%>",
|
||||
"notify_url": "<%=config.wechat.notify_url%>",
|
||||
"refund_notify_url": "<%=config.wechat.refund_notify_url%>"
|
||||
|
||||
},
|
||||
"aliyun":{
|
||||
"accessKeyId": "<%=config.aliyun.accessKeyId%>",
|
||||
"accessKeySecret": "<%=config.aliyun.accessKeyId%>",
|
||||
"ossUrl": "<%=config.aliyun.accessKeyId%>"
|
||||
} ,
|
||||
"redis":{
|
||||
"host": "<%=config.redis.host%>",
|
||||
"port": "<%=config.redis.port%>",
|
||||
"pwd": "<%=config.redis.pwd%>",
|
||||
"opt": {}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user