钉钉对接接口

appsettings.Development.json 1.6KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "Logging": {
  3. "IncludeScopes": false,
  4. "LogLevel": {
  5. "Default": "Information",
  6. "System": "Information",
  7. "Microsoft": "Information"
  8. }
  9. },
  10. "Redis": {
  11. "HostName": "139.224.236.21",
  12. "Port": "4000",
  13. "Password": "sms+800100",
  14. "Defaultdatabase": "14",
  15. "InstanceName": "dingtalk"
  16. },
  17. "DingTalkSettings": {
  18. "AppKey": "ding77tk1okpuoxhitxs",
  19. "AppSecret": "lrV9pt51pjxUY00qCkPdoZ-393can29IujDFdlR9SZnechH_pSG1Tl1maWocWrDB",
  20. "TokenCacheTime": "7000",
  21. "TokenUrl": "https://oapi.dingtalk.com/gettoken?appkey={0}&appsecret={1}",
  22. "GetAuthScopes": "https://oapi.dingtalk.com/auth/scopes?access_token={0}",
  23. "GetDepartmentList": "https://oapi.dingtalk.com/department/list?access_token={0}",
  24. "GetDepartment": "https://oapi.dingtalk.com/department/get?access_token={0}&id={1}",
  25. "GetEmployeeListByPage": "https://oapi.dingtalk.com/user/listbypage?access_token={0}&department_id={1}",
  26. "GetEmployee": "https://oapi.dingtalk.com/user/get?access_token={0}&userid={1}",
  27. "GetRoleList": "https://oapi.dingtalk.com/topapi/role/list?access_token={0}",
  28. "GetRole": "https://oapi.dingtalk.com/topapi/role/getrole?access_token={0}&roleId={1}",
  29. "GetSchedule": "https://oapi.dingtalk.com/topapi/attendance/listschedule?access_token={0}",
  30. "GetGroupList": "https://oapi.dingtalk.com/topapi/attendance/getsimplegroups?access_token={0}",
  31. "GetRecordList": "https://oapi.dingtalk.com/attendance/listRecord?access_token={0}",
  32. "GetRecordResult": "https://oapi.dingtalk.com/attendance/list?access_token={0}"
  33. }
  34. }