appsettings.json 1.97 KB
{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*",

  "ConnectionStrings": {

    //本地环境 (配置文件key 不能写中文,程序会出现异常)
    //"BaseDBContext": "Data Source =.;Initial Catalog=BaseMes_KS;User=sa;Password=cIF2UUqDQWorEn199gNn9Q==;Persist Security Info=True",
    //"RedisIp": "127.0.0.1:6379,defaultDatabase=10,password=Aa123456",

    //公司服务器测试环境 (配置文件key 不能写中文,程序会出现异常)
    "BaseDBContext": "Data Source=172.16.29.88;Initial Catalog=KS_Mes;User=LegLine;Password=6EjfZkO8o92OjsH7rK+kVg==;Persist Security Info=True",
    "RedisIp": "172.16.29.88:6379,defaultDatabase=10,password=qaz123456",

    "HttpPort": "108",
    "HttpsPort": "0",

    //登入验证忽略路径
    "AopAllowed": "MaterialReach,GetInventoryByPipeSN,PipeInfo,robotDeviceStatus,GetServicesHeartbeat,SendWorkOrder,SetProblem,GetScanRecord,GetTaskList,SendIWPTechnologylineProcess,GetEquipmentTaskList,EquipmentTaskDistribute,EquipmentTaskEnd,GetEquipmentType,GetMatchTeamList,GetMaterialByPDABarCode,ProcedureEndBack,SendWorkOrder,SendProcessRoute,SendUser,GetEquipmentByCode,AgvCollectingEnd,AgvCollectingStart,Login,BulletinBoard,OtherLogin,Upstream,AppCheckVerByAppNameAndVer",

    //扩展字段
    "Extend1": "26", //默认存部门deptId
    "Extend2": "",
    "Extend3": "",
    "Extend4": "",
    "Extend5": "",
    "Extend6": "",
    "Extend7": "",
    "Extend8": ""
  },

  //自定义配置写这里
  "AppCustomSettings": {
    "copyright": "LMES",
    "AppKey": "hhweb",
    "AppSecret": "hhweb2.0",

    //扩展字段
    "AppCustomExtend1": "_off", //接口线上环境:_onLine  接口线下环境 _off  
    "AppCustomExtend2": "",
    "AppCustomExtend3": "",
    "AppCustomExtend4": "",

    "AppCustomExtend5": "",
    "AppCustomExtend6": "",
    "AppCustomExtend7": "",
    "AppCustomExtend8": ""
  }
}