{ "Serilog": { "MinimumLevel": { "Default": "Information", "Override": { "System": "Warning", "Microsoft": "Warning", "Microsoft.Hosting.Lifetime": "Information", "Microsoft.EntityFrameworkCore": "Information" } }, "WriteTo": [ { "Name": "Console", "Args": { "outputTemplate": "【时间】{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}【等级】{Level:u3}{NewLine}【消息】{Message:lj}{NewLine}{NewLine}" } }, { "Name": "File", "Args": { "path": "logs/.log", "rollingInterval": "Day", "outputTemplate": "【时间】{Timestamp:yyyy-MM-dd HH:mm:ss,fff}{NewLine}【等级】{Level:u3}{NewLine}【消息】{Message:lj}{NewLine}{NewLine}" } } ] }, "AllowedHosts": "*", "ConnectionStrings": { "ConfigId": "db", "DBName": "lqerp_dev", "DBType": "MySql", //MySql;SqlServer;Oracle;PostgreSQL;Dm;Kdbndp; //SqlServer // "DefaultConnection": "Data Source=localhost;Initial Catalog={0};User ID=sqladmin;Password=P@ssw0rd;MultipleActiveResultSets=true" "DefaultConnection": "Database={0};Data Source=rm-2vccze142rc9a8f58bo.mysql.cn-chengdu.rds.aliyuncs.com;Port=3306;User Id=lvqiansql;Password=LvQ1@n!20251211;Charset=utf8;TreatTinyAsBoolean=true;" }, "SpecificationDocumentSettings": { "DocumentTitle": "Wesley.NET", "DocExpansionState": "None", "RoutePrefix": "antis.doc", "EnableEnumSchemaFilter": true, "EnableTagsOrderDocumentFilter": true, "XmlComments": ["NCC.Code", "NCC.System", "NCC.OAuth", "NCC.Extend"], "GroupOpenApiInfos": [ { "Group": "Default", "Title": "安第斯开发平台", "Description": "antis soft", "Version": "1.20.15" } ] }, "AppSettings": { "InjectMiniProfiler": false, "XmlAssmblyName": "NCC.Code.xml,NCC.Food.xml,NCC.System.xml,NCC.OAuth.xml,NCC.Extend.xml" }, "JWTSettings": { "ValidateIssuerSigningKey": true, // 是否验证密钥,bool 类型,默认true "IssuerSigningKey": "7k5yOxSMHVdYjs61gkgUY3W9DHbgk7tokaZlP3QIlfk34D1H7jYEOcLybClW1aKl", // 密钥,string 类型,必须是复杂密钥,长度大于16 "ValidateIssuer": true, // 是否验证签发方,bool 类型,默认true "ValidIssuer": "yinmaisoft", // 签发方,string 类型 "ValidateAudience": true, // 是否验证签收方,bool 类型,默认true "ValidAudience": "yinmaisoft", // 签收方,string 类型 "ValidateLifetime": true, // 是否验证过期时间,bool 类型,默认true,建议true "ExpiredTime": 1440, // 过期时间,long 类型,单位分钟,默认20分钟 "ClockSkew": 5 // 过期时间容错值,long 类型,单位秒,默认5秒 }, "Cache": { "CacheType": "MemoryCache", //MemoryCache RedisCache //"RedisConnectionString": "127.0.0.1:6379,defaultDatabase=12", "RedisConnectionString": "" }, "SnowId": { "WorkerId": "20" // 取值范围0~63,默认1 }, "CorsAccessorSettings": { "PolicyName": "NCCCorsAccessor", "WithOrigins": [ "http://192.168.0.138:8080", "http://localhost:8080", "http://localhost:2015", "http://localhost:2011", "http://localhost:3000", "http://localhost:9528", "http://localhost:8200", "http://localhost:3001", "http://localhost:8080" ], "WithExposedHeaders": [ "access-token", "x-access-token", "Content-Disposition" ] }, "PaymentSettings": { /* 微信支付配置 */ "WepayConfig": { "WEPAY_CHARTSET": "utf-8", "WEPAY_PAY_URL": "https://api.mch.weixin.qq.com/pay/unifiedorder", "WEPAY_ORDERQUERY_URL": "https://api.mch.weixin.qq.com/pay/orderquery", "WECHAT_AUTH_URL": "https://open.weixin.qq.com/connect/oauth2/authorize", "WECHAT_TOKEN_URL": "https://api.weixin.qq.com/sns/oauth2/access_token", "WECHAT_CALLBACKIP_URL": "https://api.weixin.qq.com/cgi-bin/getcallbackip", "WECHAT_GETTOKEN_URL": "https://api.weixin.qq.com/cgi-bin/token", "WECHAT_REFUND_URL": "https://api.mch.weixin.qq.com/secapi/pay/refund", "WECHAT_SSlCertPath": "Certificate/apiclient_cert", "WECHAT_SSlCertPass": "1601138631", "WEPAY_APP_APPID": "", "WEPAY_APP_MCH_ID": "1601138631", "WEPAY_APP_NOTIFY_URL": "https://uu365.t1j2.com/api/Food/baseorder/WePayNotify", //开发者平台配置 "WEPAY_APP_URL": "", "WEPAY_APP_KEY": "", //公众号平台配置 "WEPAY_WEB_APPID": "wx47e94df2f5de9494", "WEPAY_WEB_MCH_ID": "1601138631", //商户号 "WEPAY_WEB_NOTIFY_URL": "https://uu365.t1j2.com/api/Food/baseorder/WePayNotify", //微信回调地址 "WEPAY_WEB_URL": "https://uu365.t1j2.com/", "WEPAY_WEB_KEY": "HuifanLai2021nianwx47e94df2f5de9", //微信商户秘钥 //小程序 "APPLETE_APPSECRET": "2b294c059dcbd3a029fe87d1de8d3eb9", "APPLETE_APPID": "wx57e476568c271141" }, /* 支付宝支付配置 */ "AlipayConfig": { "ALIPay_URL": "https://mapi.alipay.com/gateway.do?", "ALIPay_NotifyURL": "", "ALIPay_ErrorURL": "", "ALI_PARTER": "wxa2d04b53b653c64f", "ALI_KEY": "", "ALI_ACCOUNT": "", "ALI_SELLERID": "", "ALI_SELLEREMAIL": "", "ALI_HTTPS_VERYFY_URL": "https://mapi.alipay.com/gateway.do?service=notify_verify", "ALIPay_WAP_SERVICE": "alipay.wap.create.direct.pay.by.user", "ALIPay_WEB_SERVICE": "create_direct_pay_by_user", "ALIPay_MOBILE_SERVICE": "mobile.securitypay.pay", "ALIPay_RSA_PRIVATEKEY": "", //我的私钥 "ALIPay_RSA_PUBLICKEY": "", //我的公钥 "ALIPay_RSA_ALI_PUBLICKEY": "" //支付宝公钥 } }, // 更多配置,请查看WeChatPayOptions类 "WeChatPay": { // 应用号 // 如:微信公众平台AppId、微信开放平台AppId、微信小程序AppId、企业微信CorpId等 "AppId": "xx", // 商户号 // 为微信支付商户平台的商户号 "MchId": "xx", // 商户API密钥 // 为微信支付商户平台的API密钥,请注意不是APIv3密钥 AppSecret 9cfa989bff76936977e25a5015f0a368 "APIKey": "", // 商户APIv3密钥 // 为微信支付商户平台的APIv3密钥,请注意不是API密钥,v3接口必填 "APIv3Key": "", // 商户API证书 // 使用V2退款、付款等接口时必填 // 使用V3接口时必填 // 可为证书文件路径 / 证书文件的base64字符串 "Certificate": "", // 商户API私钥 // 当配置了P12格式证书时,已包含私钥,不必再单独配置API私钥。 // PEM格式证书,需要单独配置。 "APIPrivateKey": "", //支付回调地址 "NotifyUrl": "https://xxx/api/Order/BaseOrder/Unifiedorder", // RSA公钥 // 目前仅调用"企业付款到银行卡API [V2]"时使用,执行本示例中的"获取RSA加密公钥API [V2]"即可获取。 "RsaPublicKey": "" }, "AntisSoftSettings": { "AntisSoftName": "NCC.Test.AAA", "AllowIps": [ "http://192.168.0.138:8080", "http://localhost:3000", "http://localhost:2011", "http://localhost:8200", "http://localhost:3001" ], "AllowDemoBool": false, "SetPreflightMaxAge": 100 }, "OAuth": { "Wechat": { "app_id": "", "app_key": "", "redirect_uri": "", "scope": "snsapi_userinfo" } }, "WeChatBot": { "BotApiUrl": "http://wx.lvqianmeiye.com/api/Bot/send-text", "WebhookUrl": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=496f1add-122b-43fc-9e38-0ca79c48b33f", "WebhookUrlTest": "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=6f8686ec-5011-4c1d-bae9-d82a2a2f4d83" }, "NCC_App": { "CodeAreasName": "SubDev,Food,Extend,test", //系统文件路径(末尾必须带斜杆) "SystemPath": "/", //微信公众号允许上传文件类型 "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,gif,png,bmp,jpeg,doc,docx,ppt,pptx,xls,xlsx,pdf,txt,rar,zip,csv", "Domain": "http://127.0.0.1:58504", "YOZO": { "domain": "http://eic.yozocloud.cn", "domainKey": "yozoHbiPMzu50374" }, //Minio "BucketName": "lvqian-erip", //文件存储类型(本地:local,MinIo:minio,阿里云:aliyun-oss,腾讯云:tencent-cos) "FileStoreType": "local", //阿里云OSS配置 "AliyunOSS": { "AccessKeyId": "LTAI5t6h4i95uapwzDwKfNxi", "AccessKeySecret": "84dpUAlu2eoyFOIEhFGkZlIy45h0B6", "Endpoint": "oss-cn-chengdu.aliyuncs.com", "Region": "cn-chengdu", "CustomDomain": "https://lvqian-erip.oss-cn-chengdu.aliyuncs.com" }, //================== 系统错误邮件报告反馈相关 ============================== --> //软件的错误报告 "ErrorReport": "false", //软件的错误报告发给谁 "ErrorReportTo": "yinhmsaisoft@163.com" } }