diff --git a/.gitignore b/.gitignore index 061932be..d37e92a4 100644 --- a/.gitignore +++ b/.gitignore @@ -41,3 +41,5 @@ /.github /src/vue/public/assets/appconfig.prod.json /src/aspnet-core/src/YoyoBoot.Web.Host/appsettings.json +/src/aspnet-core/src/YoyoBoot.Web.Host/appsettings.json +/src/vue/public/assets/appconfig.prod.json diff --git a/src/aspnet-core/src/YoyoBoot.Web.Host/appsettings.json b/src/aspnet-core/src/YoyoBoot.Web.Host/appsettings.json deleted file mode 100644 index db08c060..00000000 --- a/src/aspnet-core/src/YoyoBoot.Web.Host/appsettings.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "ConnectionStrings": { - "Default": "server=192.168.1.155; Database=ICSMESBase; User ID=sa; Password=aA123456;MultipleActiveResultSets=True", - // "Default": "server=172.16.12.201; Database=ICSMESBase; User ID=sa; Password=aA123456;MultipleActiveResultSets=True", - //"Default": "server=119.3.29.177; Database=ICSMESBase; User ID=sa; Password=EYuX1bqSi^fIBWDX;MultipleActiveResultSets=True", - "Default2": "server=192.168.1.155; Database=ICSMESBase2; User ID=sa; Password=aA123456;MultipleActiveResultSets=True" //172.16.12.201 - }, - "App": { - "AdminServerRootAddress": "http://localhost:6298/", - "WebSiteClientRootAddress": "http://localhost:11805/", - "CorsOrigins": "http://localhost:8000,http://localhost:5173,http://localhost:8081,http://localhost:8082,http://localhost:8083,http://localhost:8084,http://localhost:8085,http://localhost:4200,http://localhost:4201,http://localhost:88,http://localhost:8080,http://192.168.1.155:8861,http://192.168.1.110:8080,http://119.3.29.177:8861,http://192.168.0.210:8861", - "SwaggerEndPoint": "/swagger/v1/swagger.json", - "FileManagment": { - "Minio": { - "IsEnabled": false, - "Endpoint": "localhost:8999", - "AccessKey": "1", - "SecretKey": "1abcd", - "BucketName": "1" - }, - "FileSystem": { - "BasePath": "D:\\File" - } - }, - "AuditLog": { - "Mongo": { - "IsEnabled": false, - "ConnectionString": "mongodb://账号:密码@服务器IP:27017/YoyoBootAuditLog?authSource=admin" - } - }, - "HangfireDashboardEnabled": true, - "HangfireEnabled": true, - "SupportedFileType": ".svg,.png,.jpg,.pdf,.bmp,.jpeg,.txt,.fr3,.doc,.docx,.xlsx,.xls,.zip,.rar", - "SupportedContentType": ".svg$image/svg+xml,.txt$text/plain,.fr3$application/octet-stream,.png$image/png,.jpg$image/jpg,.pdf$application/pdf,.gif$image/gif,.jpeg$image/jpeg,.doc$application/msword,.docx$application/vnd.openxmlformats-officedocument.wordprocessingml.document,.xlsx$application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,.xls$application/vnd.ms-excel,.zip$application/zip,.rar$application/x-rar", - "Examples": { - "RealTimeJob": true - } - }, - "MultiTenancy": { // 多租户配置 - "IsEnabled": true - }, - - "VerificationCode": { - "IsEnabled": false, - "Length": 6, - "Type": 0 - }, - "Authentication": { - "OpenId": { - "IsEnabled": "false", - "ClientId": "", - "Authority": "", - "LoginUrl": "" - }, - "JwtBearer": { - "IsEnabled": "true", - "SecurityKey": "YoyoBoot_C421AAEE0D114E9C", - "Issuer": "YoyoBoot", - "Audience": "YoyoBoot" - }, - "QQ": { - "IsEnabled": "false", - "AppId": "101615423", - "AppKey": "d26373fdc0249824ba6b47bcb0fa7053" - }, - "Wechat": { - "IsEnabled": "false", - "AppId": "your_app_id", - "AppSecret": "your_app_srcret" - }, - "Facebook": { - "IsEnabled": "false", - "AppId": "1961767334107605", - "AppSecret": "94bef6b7648b1d7eff1acdb467d61d4c" - }, - "Google": { - "IsEnabled": "false", - "ClientId": "681885179754-h5cmict058l1e002qr3p1g2m1pjtrq5t.apps.googleusercontent.com", - "ClientSecret": "sKtZytgiV-ybM-g2v7ls6MjS" - }, - "Twitter": { - "IsEnabled": "false", - "ConsumerKey": "", - "ConsumerSecret": "" - }, - "Microsoft": { - "IsEnabled": "false", - "ConsumerKey": "2c4783af-a402-40df-9e0d-3501a1843c9f", - "ConsumerSecret": "zYUuZ0r72G@s5T-NR=MflBA-6Dz0=VTx" - } - }, - "Pay": { - "Alipay": { - "AlipayPublicKey": "", - "AppId": "", - "CharSet": "UTF-8", - "Gatewayurl": "https://openapi.alipaydev.com/gateway.do", - "PrivateKey": "", - "SignType": "RSA2", - "Uid": "" - } - }, - - "Aliyun": { - "AccessKeyId": "LTAIptjr3qNwADJa", - "AccessKeySecret": "MFI0cAPk0DbgQ9NkfCc6fdCBzUYjuZ", - "Oss": { - "Endpoint": "", - "BucketName": "" - }, - "Vod": { - "RegionId": "cn-beijing" //默认为上海,如果不涉及到国外的话,不需要修改。 - } - }, - "Cache": { - "Redis": { - "ConnectionString": "101.35.48.32:6379,password=123456", - "DatabaseId": -1, - "ConnectionSignalRString": "192.168.2.28", - "SignalRDatabaseId": -1 - } - }, - "IdentityServer": { - "IsEnabled": "false", - "Authority": "http://localhost:6297/", - "ApiName": "host-api", - "ApiSecret": "host-secret", - "Clients": [ - "@{ClientId=client; AllowedGrantTypes=System.Object[]; ClientSecrets=System.Object[]; AllowedScopes=System.Object[]}", - "@{ClientId=demo; ClientName=MVC Client Demo; AllowedGrantTypes=System.Object[]; RequireConsent=true; ClientSecrets=System.Object[]; RedirectUris=System.Object[]; PostLogoutRedirectUris=System.Object[]; AllowedScopes=System.Object[]; AllowOfflineAccess=true}" - ] - }, - "SenparcSetting": { - "IsDebug": true, - "DefaultCacheNamespace": "DefaultCache" - }, - "HealthChecks": { - "HealthChecksEnabled": false, - "HealthChecksUI": { - "HealthChecksUIEnabled": false, - "HealthChecks": "", - "EvaluationTimeOnSeconds": 10, - "MinimumSecondsBetweenFailureNotifications": 60 - } - }, - "MailSetting": { - "SendHost": "smtp.valueics.com", - "SendPort": "25", - "SendDisplayName": "徐寿春", - "SendAddress": "xusc@valueics.com", - "SendPassword": "xu107984_" - }, - //加密算法 - "Encrypt": { - "AES256": { - "Key": "e8a8d65a3042f662c9833a0ba6803cae" - }, - "MD5": { - "Key": "e8a8d65a3042f662c9833a0ba6803cae" - } - }, - //系统参数 - "SysParameter": { - "启用派工": "SP-001" - }, - //许可证 - "License": { - "LicenseAdvanceDays": 30, - "key": "qgTKodxa05OeHebsTHUOSSMvKnhHl2i5kEDnHZGRiN6x6muFSyCyH9bntsOJRSAfFDWk8QpG5V1oNp1r0Vqbzf6/kUQerHIrhHi8/fxVDEqiLCZiNt/yrd72Gpy9lB5ZFNXFk3pyfZkjTZEwtkUBDmNX7wBSISgEoJ3iOaJIsLJwqaYqG8apo3TyXNCEP0aMmbZ3Ol3DeQfSc1NiE9ibYAXg63jLw4/E7cna4PqvDfy9S5Y6+yoH5dmMWDl4WO5ddX4OedTgLF4BETrJi1zFAG0wxADEG5FtBgxc1mxlgU4echTJSTEF1J5JPpOAuOB7GcOWP3b4rjs1EbexXmziQDv2lWRYzD4ydgCC97AEIPzEIbP2ZPwS0iz1/yisL/lbOqDRh1dfAAfjWg1MTMVBujcAirlYtWeXVIE23Suj2t4bkEglAxIRg/iiLU6JYbXa/iiGkU1D8Un/dKRb9pImaJX3oAY1bLmfF9oI85reLNVSXZ0dl9Huadiarilutl2RUuhlzF4pBK6yXpjwOoMJDqm8R9aqV7r2xy35Ja7yjbMVko+GWUmUybepib78B/+uT/lyL9LyhrGAg2buqtPIAe1M/cxStEg2qWYC4LEu/GIKkJPFH2YSOHKCVXOqfcLi0LF99k4zvSrD0ueCBgA90CHcJIT1P5sIq8g1n/qG7l8O8YWrx1kprfZc3pNPzbU8Tp+e+7Wr6vMgqUlePC0nZBFnZb5H32MjLTGm/qLyIuUYFsasJ986rTY7bkIvI05M152yV6csw50G4mOHNS14WFMGWvH3eCpzeSiYHAkGyvODr24fYERU3gH+ZauNWilTgvy2F977Po7Nju4KizKZTQ==" - - }, - //第三方远程URL配置 - "OtherRemoteUrl": { - //示例 - "HttpBaseUrl": "http://192.168.1.155:8860" - }, - "FastReportPrintSetting": { - "RegisterInfo": { - "KeyName": "苏州智合诚信息科技有限公司", - "KeyValue": "56DD3B4C172D0D140841CAC98A58A819F4E28EDA5D6E45711DDD64F6A439F68B6A7870CD7DAFD69A919CB870207FE4BB206F92BE3D53C221B019E0797E739EBA4" - } - } -} diff --git a/src/vue/public/assets/appconfig.prod.json b/src/vue/public/assets/appconfig.prod.json deleted file mode 100644 index 199060ee..00000000 --- a/src/vue/public/assets/appconfig.prod.json +++ /dev/null @@ -1,49 +0,0 @@ -{ - "remoteServiceBaseUrl": "http://192.168.1.155:8860", - "uploadApiUrl": "/api/File/Upload", - "portalBaseUrl": "http://192.168.1.155", - "localeMappings": [ - { - "from": "pt-BR", - "to": "pt" - }, - { - "from": "zh-CN", - "to": "zh" - }, - { - "from": "he-IL", - "to": "he" - } - ], - "ngZorroLocaleMappings": [ - { - "from": "en", - "to": "en_US" - }, - { - "from": "zh-Hans", - "to": "zh_CN" - } - ], - "ngAlainLocaleMappings": [ - { - "from": "en", - "to": "en-US" - }, - { - "from": "zh-Hans", - "to": "zh-CN" - } - ], - "momentLocaleMappings": [ - { - "from": "en", - "to": "en" - }, - { - "from": "zh-Hans", - "to": "zh-cn" - } - ] -}