forked from shen100/wemall
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
82 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,55 @@ | ||
{ | ||
"poweredByWeb": "wemall", | ||
"poweredByAPI": "wemall api", | ||
"webPoweredBy": "wemall", /*前端node.js加的X-Powered-By*/ | ||
"apiPoweredBy": "wemall api", /*后台go加的X-Powered-By*/ | ||
"database": { | ||
"Dialect" : "mysql", | ||
"Database" : "wemall", | ||
"User" : "root", | ||
"Password" : "test1234", | ||
"Charset" : "utf8", | ||
"SQLLog" : true, | ||
"URL" : "" | ||
"SQLLog" : true, /*是否输出SQL*/ | ||
"URL" : "" /*数据库连接地址*/ | ||
}, | ||
"nodejs": { | ||
"page": { | ||
"title" : "wemall-软件微商城", | ||
"sitePath" : "", | ||
"jsPath" : "/javascripts", | ||
"imagePath" : "/images", | ||
"cssPath" : "/styles" | ||
"title" : "wemall-微商城", /*网站标题*/ | ||
"sitePath" : "", /*网站前缀,适用于子应用的场景*/ | ||
"jsPath" : "/javascripts", /*前端JS请求地址前缀*/ | ||
"imagePath" : "/images", /*前端图片请求地址前缀*/ | ||
"cssPath" : "/styles", /*前端css请求地址前缀*/ | ||
"ueditorURL" : "/ueditor/" /*前端ueditor请求地址前缀*/ | ||
}, | ||
"env" : "development", | ||
"useProxy" : false, | ||
"proxyUri" : "http://127.0.0.1:8881", | ||
"port" : 8010, | ||
"staticPort" : 8011 | ||
"env" : "development", /*模式(开发,测试,产品)*/ | ||
"useProxy" : false, /*node.js发请求是否使用代理*/ | ||
"proxyUri" : "http://127.0.0.1:8881", /*代理地址及端口*/ | ||
"port" : 8010, /*前端node.js监听的端口*/ | ||
"staticPort" : 8011 /*前端静态文件服务器监听的端口(本地开发时使用)*/ | ||
}, | ||
"go": { | ||
"Debug" : true, | ||
"UploadImgDir" : "/Users/liushen/dev/uploads/img", | ||
"Port" : 8012, | ||
"MaxOrder" : 10000, | ||
"MinOrder" : 0, | ||
"PageSize" : 20, | ||
"MaxPageSize" : 100, | ||
"MinPageSize" : 20, | ||
"MaxNameLen" : 100, | ||
"MaxRemarkLen" : 500, | ||
"MaxContentLen" : 10000, | ||
"MaxProductCateCount" : 6 | ||
"Debug" : true, /*是否是debug模式*/ | ||
"UploadImgDir" : "/Users/liushen/dev/uploads/img", /*图片上传的目录*/ | ||
"ImgPath" : "/img", /*上传后的图片请求地址前缀*/ | ||
"Port" : 8012, /*go监听的端口*/ | ||
"MaxOrder" : 10000, /*最大的排序号*/ | ||
"MinOrder" : 0, /*最小的排序号*/ | ||
"PageSize" : 20, /*默认每页的条数*/ | ||
"MaxPageSize" : 100, /*每页最大的条数*/ | ||
"MinPageSize" : 20, /*每页最小的条数*/ | ||
"MaxNameLen" : 100, /*最大的名称长度*/ | ||
"MaxRemarkLen" : 500, /*最大的备注长度*/ | ||
"MaxContentLen" : 10000, /*最大的内容长度*/ | ||
"MaxProductCateCount" : 6 /*产品最多的分类个数*/ | ||
}, | ||
"software": { | ||
"name" : "wemall微商城", | ||
"version" : "1.0.0", | ||
"officialURL" : "https://www.shen100.com" | ||
"name" : "wemall微商城", /*软件名称*/ | ||
"version" : "1.0.0", /*软件版本*/ | ||
"officialURL" : "https://www.shen100.com" /*官网地址*/ | ||
}, | ||
"api": { | ||
"Prefix" : "/api", | ||
"URL" : "/api", | ||
"NodeURL" : "http://127.0.0.1:8012/api" | ||
"Prefix" : "/api", /*api服务请求前缀*/ | ||
"URL" : "http://127.0.0.1:8012/api" /*api服务请求地址(给node.js调用)*/ | ||
}, | ||
"docs": { | ||
"github": "https://xxx.com/shen100" | ||
"github": "https://github.com/shen100/wemall" /*wemall项目github地址*/ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters