配置文件

This commit is contained in:
2024-04-12 09:26:13 +08:00
parent 4fbc6c0267
commit 64409b785b
9 changed files with 18 additions and 25 deletions

View File

@@ -2,7 +2,7 @@
"JNPF_App": { "JNPF_App": {
"CodeAreasName": [ "SubDev" ], "CodeAreasName": [ "SubDev" ],
//系统文件路径 //系统文件路径
"SystemPath": "D:\\cosmoplat\\tnb\\Resources", "SystemPath": "D:\\ToTong\\tnb\\Resources",
//微信公众号允许上传文件类型 //微信公众号允许上传文件类型
"MPUploadFileType": [ "MPUploadFileType": [
"bmp", "bmp",
@@ -102,7 +102,7 @@
// 软件的错误报告 // 软件的错误报告
"ErrorReport": false, "ErrorReport": false,
//软件的错误报告发给谁 //软件的错误报告发给谁
"ErrorReportTo": "" "ErrorReportTo": "tuotong_tech@163.com"
}, },
// ================== 单点登录配置(和其他登录方式 只能二选一) ============================== --> // ================== 单点登录配置(和其他登录方式 只能二选一) ============================== -->
"OAuth": { "OAuth": {

View File

@@ -4,7 +4,7 @@
"ip": "localhost", "ip": "localhost",
"port": 6379, "port": 6379,
"password": "05jWEoJa8v", "password": "05jWEoJa8v",
"RedisConnectionString": "{0}:{1},password={2}, poolsize=500,ssl=false,defaultDatabase=7" "RedisConnectionString": "{0}:{1},password={2}, poolsize=500,ssl=false,defaultDatabase=0"
}, },
"Redis": { "Redis": {
"ip": "localhost", "ip": "localhost",

View File

@@ -1,24 +1,16 @@
{ {
"ConnectionStrings": { "ConnectionStrings": {
"ConfigId": "default", "ConfigId": "default",
"DBType": "MySql", //MySql;SqlServer;Oracle;PostgreSQL;Dm;Kdbndp;Sqlite; "DBType": "PostgreSQL", //MySql;SqlServer;Oracle;PostgreSQL;Dm;Kdbndp;Sqlite;
<<<<<<< HEAD
"Host": "127.0.0.1",//"10.67.53.241",
=======
"Host": "localhost", "Host": "localhost",
>>>>>>> aec1d3b15533e5faafe3b2294830b095cff93f2d //"Host": "127.0.0.1",
"Port": "3306", "Port": "5432",
//"DBName": "tianyi_db", //"DBName": "tianyi_db",
//"UserName": "postgres", //"UserName": "postgres",
//"Password": "pass@word123", //"Password": "pass@word123",
"DBName": "xinte_cloud", "DBName": "tianyi",
<<<<<<< HEAD "UserName": "postgres",
"UserName": "root",//"totong", "Password": "pass@word123",
"Password": "root",//"+vKyHUbtxQ",
=======
"UserName": "totong",
"Password": "+vKyHUbtxQ",
>>>>>>> aec1d3b15533e5faafe3b2294830b095cff93f2d
//SqlServer //SqlServer
//"DefaultConnection": "server={0},{1};database={2};uid={3};pwd={4};MultipleActiveResultSets=true" //"DefaultConnection": "server={0},{1};database={2};uid={3};pwd={4};MultipleActiveResultSets=true"
//Kdbndp //Kdbndp

View File

@@ -2,9 +2,10 @@
"DevName3": "Elevator3", "DevName3": "Elevator3",
"DevName4": "Elevator4", "DevName4": "Elevator4",
"HeartbeatDevNames": [ "Elevator3", "Elevator4" ], "HeartbeatDevNames": [ "Elevator3", "Elevator4" ],
"tags": [ "SysStatus", "RunStatus", "FloorNo", "DoorStatus", "AGVStatus" ],
"token": "780BE4144636CF47DDF3920B0F1D069B", "token": "780BE4144636CF47DDF3920B0F1D069B",
"GetTagListUrl": "http://192.168.11.110:9100/Dev/GetTagList", "GetTagListUrl": "http://192.168.11.110:9100/Dev/GetTagList",
"GetTagUrl": "http://192.168.11.110:9100/Dev/GetTag", "GetTagUrl": "http://192.168.11.110:9100/Dev/GetTag",
"WriteTagUrl": "http://192.168.11.110:9100/Dev/writeTag", "WriteTagUrl": "http://192.168.11.110:9100/Dev/writeTag",
"Environment": "" "Environment": "tianyi"
} }

View File

@@ -3,9 +3,9 @@
"ValidateIssuerSigningKey": true, // 是否验证密钥bool 类型默认true "ValidateIssuerSigningKey": true, // 是否验证密钥bool 类型默认true
"IssuerSigningKey": "RkayGi4ltkMWrSQKsQTWic1VnakqsQfaJOmJIBUWE1gxGaS0IrJHxa9anjVAwuew", // 密钥string 类型必须是复杂密钥长度大于16 "IssuerSigningKey": "RkayGi4ltkMWrSQKsQTWic1VnakqsQfaJOmJIBUWE1gxGaS0IrJHxa9anjVAwuew", // 密钥string 类型必须是复杂密钥长度大于16
"ValidateIssuer": true, // 是否验证签发方bool 类型默认true "ValidateIssuer": true, // 是否验证签发方bool 类型默认true
"ValidIssuer": "cosmoplat", // 签发方string 类型 "ValidIssuer": "tuotong", // 签发方string 类型
"ValidateAudience": true, // 是否验证签收方bool 类型默认true "ValidateAudience": true, // 是否验证签收方bool 类型默认true
"ValidAudience": "cosmoplat", // 签收方string 类型 "ValidAudience": "tuotong", // 签收方string 类型
"ValidateLifetime": true, // 是否验证过期时间bool 类型默认true建议true "ValidateLifetime": true, // 是否验证过期时间bool 类型默认true建议true
"ExpiredTime": 1440, // 过期时间long 类型单位分钟默认20分钟 "ExpiredTime": 1440, // 过期时间long 类型单位分钟默认20分钟
"ClockSkew": 5 // 过期时间容错值long 类型单位秒默认5秒 "ClockSkew": 5 // 过期时间容错值long 类型单位秒默认5秒

View File

@@ -1,6 +1,6 @@
{ {
"JobConnectionStrings": { "JobConnectionStrings": {
"ConfigId": "JNPF-Job",// 不可修改 "ConfigId": "JNPF-Job", // 不可修改
"DBName": "jnpf_sundial", "DBName": "jnpf_sundial",
"DBType": "SqlServer", //MySql;SqlServer;Oracle;PostgreSQL;Dm;Kdbndp;Sqlite; "DBType": "SqlServer", //MySql;SqlServer;Oracle;PostgreSQL;Dm;Kdbndp;Sqlite;
"Host": "192.168.0.214", "Host": "192.168.0.214",

View File

@@ -1,6 +1,6 @@
{ {
"OSS": { "OSS": {
"BucketName": "cosmoplatoss", "BucketName": "jnpfsoftoss",
//文件存储类型(Invalid(本地),MinIo,Aliyun,QCloud,Qiniu) //文件存储类型(Invalid(本地),MinIo,Aliyun,QCloud,Qiniu)
"Provider": "Invalid", "Provider": "Invalid",
"Endpoint": "192.168.0.60:9000", "Endpoint": "192.168.0.60:9000",

View File

@@ -1,12 +1,12 @@
{ {
"SpecificationDocumentSettings": { "SpecificationDocumentSettings": {
"DocumentTitle": "Cosmoplat Next Builder", "DocumentTitle": "ToTong Next Builder",
"DocExpansionState": "None", "DocExpansionState": "None",
"RoutePrefix": "swagger", "RoutePrefix": "swagger",
"GroupOpenApiInfos": [ "GroupOpenApiInfos": [
{ {
"Group": "Default", "Group": "Default",
"Title": "Cosmoplat Next Builder", "Title": "ToTong Next Builder",
"Description": "", "Description": "",
"Version": "3.4.6" "Version": "3.4.6"
} }

View File

@@ -1,7 +1,7 @@
{ {
"Tenant": { "Tenant": {
"MultiTenancy": false, "MultiTenancy": false,
"MultiTenancyDBInterFace": "", "MultiTenancyDBInterFace": "http://www.tuotong-tech.com/api/Saas/Tenant/DbContent/",
"MultiTenancyType": "" "MultiTenancyType": ""
} }
} }