Files
tnb.server/apihost/Tnb.API.Entry/Configurations/App.json
2023-03-13 15:00:34 +08:00

83 lines
3.6 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"JNPF_App": {
"CodeAreasName": [ "SubDev" ],
//系统文件路径
"SystemPath": "D:\\ToTong\\tnb\\Resources",
//微信公众号允许上传文件类型
"MPUploadFileType": [ "bmp", "png", "jpeg", "jpg", "gif", "mp3", "wma", "wav", "amr", "mp4" ],
//微信允许上传文件类型
"WeChatUploadFileType": [ "jpg", "png", "doc", "docx", "ppt", "pptx", "xls", "xlsx", "pdf", "txt", "rar", "zip", "csv", "amr", "mp4" ],
//允许图片类型
"AllowUploadImageType": [ "jpg", "gif", "png", "bmp", "jpeg", "tiff", "psd", "swf", "svg", "pcx", "dxf", "wmf", "emf", "lic", "eps", "tga" ],
//允许上传文件类型
"AllowUploadFileType": [ "jpg", "mp3", "gif", "png", "bmp", "jpeg", "doc", "docx", "ppt", "pptx", "xls", "xlsx", "pdf", "txt", "rar", "zip", "csv" ],
//过滤上传文件名称特殊字符
"SpecialString": [ "/", "<", ">", "|", "?", "\\", ":", "\"", "*", "_" ],
"PreviewType": "kkfile", //文件预览方式 kkfileyozo默认使用kkfile
"KKFileDomain": "http://127.0.0.1:30090/FileServer",
"Domain": "http://yinmai.tpddns.cn:7772",
"YOZO": {
"domain": "http://dcsapi.com/",
"domainKey": "57462250284462899305150",
"UploadAPI": "http://dmc.yozocloud.cn/api/file/http?fileUrl={0}&appId={1}&sign={2}", //上传接口
"DownloadAPI": "http://eic.yozocloud.cn/api/view/file?fileVersionId={0}&appId={1}&sign={2}", //预览接口
"AppId": "yozoAQh5dPSt6063", //应用Id
"AppKey": "6365bfbd733fce644fd7ac0aaeca" //签名
},
//================== 系统错误邮件报告反馈相关 ============================== -->
//软件的错误报告
"ErrorReport": false,
//软件的错误报告发给谁
"ErrorReportTo": "tuotong_tech@163.com"
},
//================== 第三方登录配置 ============================== -->
"Socials": {
"SocialsEnabled": true,
"DoMain": "https://562f45p309.goho.co/dev", // 外网能访问的地址(域名), 回调的时候拼接接口地址用
"Config": [
{
"Provider": "wechat_open", // 微信
"ClientId": "wxef1eded63394caab",
"ClientSecret": "cbe39c090c5606ee4c83c69961bb7132"
},
//{
// "Provider": "qq", // qq
// "ClientId": "1112149755",
// "ClientSecret": "hyejIUnW3LYSnFv5"
//},
{
"Provider": "wechat_enterprise", // 企业微信
"ClientId": "wwf75525d6abbf7f31",
"ClientSecret": "3lUofKsOOCOOO8Lr9uZ2qqKpRxozn33ya0estNFmCX0",
"AgentId": "1000003"
},
{
"Provider": "dingtalk", // 钉钉
"ClientId": "dingmdsrfe5acay7dqvx",
"ClientSecret": "zUEQfNbVzHajZgRELsptGxukPBK-pkJOe94HTVQNLnplF4ZEcguspkHRmJLtHBB9",
"AgentId": "785270551"
},
{
"Provider": "feishu", // 飞书
"ClientId": "cli_a205984c98b9500d",
"ClientSecret": "GtzwzI7gcbAhLjFPJ6YqYfhNESJ3imFk"
}
//{
// "Provider": "github", // GitHub
// "ClientId": "cli_a205984c98b9500d",
// "ClientSecret": "GtzwzI7gcbAhLjFPJ6YqYfhNESJ3imFk"
//},
//{
// "Provider": "wechat_applets", // 小程序
// "ClientId": "wx8f5cb90d8ff960a3",
// "ClientSecret": "a78af789549c9f203cd6bfd593640968"
//}
]
},
//================== 消息跳转配置 ============================== -->
"Message": {
"DoMainPc": "http://127.0.0.1:3000", // 前端PC外网能访问的地址(域名), 回调的时候拼接接口地址用
"DoMainApp": "http://127.0.0.1:3000", // 前端App外网能访问的地址(域名), 回调的时候拼接接口地址用
"AppPushUrl": "https://8e84eea8-6922-4033-8e86-67ad7442e692.bspapp.com/unipush"
}
}