sunpengfei
2025-08-06 71d0c92a63f1e26c6ba9634413083de1acaf916c
FlexJobApi.Core/settings.json
@@ -1,7 +1,35 @@
{
  "$schema": "https://gitee.com/dotnetchina/Furion/raw/v4/schemas/v4/furion-schema.json",
  "SpecificationDocumentSettings": {
    "DocumentTitle": "灵活用工 | 规范化接口",
    "GroupOpenApiInfos": [
      {
        "Group": "Default",
        "Title": "规范化接口演示",
        "Version": "1.0.0",
        "Contact": {
          "Name": "孙鹏飞"
        }
      }
    ],
    "EnumToNumber": true
  },
  "DynamicApiControllerSettings": {
    "LowercaseRoute": false,
    "KeepName": true,
    "AsLowerCamelCase": true,
    "ModelToQuery": true
  },
  "CorsAccessorSettings": {
    "WithExposedHeaders": [
      "access-token",
      "x-access-token",
      "environment"
    ]
  },
  "AllowedHosts": "*",
  "FriendlyExceptionSettings": {
    "HideErrorCode": true,
    "DefaultErrorCode": "500",
    "DefaultErrorMessage": "服务器异常,请联系管理员"
  },
@@ -12,7 +40,7 @@
      "Microsoft.EntityFrameworkCore": "Information"
    },
    "File": {
      "FileName": "Logs/{0:yyyy}-{0:MM}-{0:dd}.log",
      "FileName": "Logs/logs{0:yyyy}{0:MM}{0:dd}.txt",
      "Append": true,
      "MinimumLevel": "Information",
      "FileSizeLimitBytes": 0,
@@ -23,8 +51,29 @@
    }
  },
  "SupplierPassword": "qwe321",
  "Consul": {
    "Address": "http://localhost:8500/",
    "ServiceName": "Local_FlexJobApi",
    "ServiceIP": "localhost",
    "ServicePort": 53780,
    "ServiceHealthCheck": "/healthz"
  },
  "DistributedCache": {
    "Access": "Redis",
    "Configuration": "118.178.252.28:5390,password=Bole123!"
  },
  "Aliyun": {
    "OSS": {
      "AccessKeyId": "LTAI4GAdJ88mUMMFBHHiyDmS",
      "AccessSecret": "NX3AmjOcGkJ8bncQfIVxqmifBWkI0E",
      "RegionId": "cn-hangzhou",
      "Endpoint": "http://oss-cn-hangzhou.aliyuncs.com",
      "BucketName": "waterdroptest2",
      "Url": "https://waterdroptest2.oss-cn-hangzhou.aliyuncs.com/",
      "RoleArn": "acs:ram::1483797030072898:role/boleoss",
      "RoleSessionName": "SessionTest",
      "Policy": "{\"Version\":\"1\",\"Statement\":[{\"Effect\":\"Allow\",\"Action\":\"oss:PutObject\",\"Resource\":[\"acs:oss:*:*:waterdroptest2/*\",\"acs:oss:*:*:parkmanagement/*\",\"acs:oss:*:*:jurenlian/*\"]}]}",
      "DurationSeconds": 3600
    }
  }
}