钉钉对接接口

appsettings.Production.json 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. "GetDepartmentParents": "https://oapi.dingtalk.com/department/list_parent_depts_by_dept?access_token={0}&id={1}",
  26. "GetDepartmentChildren": "https://oapi.dingtalk.com/department/list_ids?access_token={0}&id={1}",
  27. "GetEmployeeDepartmentParents": "https://oapi.dingtalk.com/department/list_parent_depts?access_token={0}&userid={1}",
  28. "GetEmployeeCount": "https://oapi.dingtalk.com/user/get_org_user_count?access_token={0}",
  29. "GetEmployeeListByDepartmentId": "https://oapi.dingtalk.com/user/listbypage?access_token={0}&department_id={1}",
  30. "GetEmployee": "https://oapi.dingtalk.com/user/get?access_token={0}&userid={1}",
  31. "GetRoleList": "https://oapi.dingtalk.com/topapi/role/list?access_token={0}",
  32. "GetRole": "https://oapi.dingtalk.com/topapi/role/getrole?access_token={0}&roleId={1}",
  33. "GetEmployeeListByRoleId": "https://oapi.dingtalk.com/user/listbypage?access_token={0}&role_id={1}",
  34. "GetRoleGroup": "https://oapi.dingtalk.com/topapi/role/getrolegroup?access_token={0}&group_id={1}",
  35. "GetSchedule": "https://oapi.dingtalk.com/topapi/attendance/listschedule?access_token={0}",
  36. "GetGroupList": "https://oapi.dingtalk.com/topapi/attendance/getsimplegroups?access_token={0}",
  37. "GetRecordList": "https://oapi.dingtalk.com/attendance/listRecord?access_token={0}",
  38. "GetRecordResult": "https://oapi.dingtalk.com/attendance/list?access_token={0}",
  39. "GetUserGroup": "https://oapi.dingtalk.com/topapi/attendance/getusergroup?access_token={0}",
  40. "GetLeaveStatus": "https://oapi.dingtalk.com/topapi/attendance/getleavestatus?access_token={0}",
  41. "GetLeaveApproveDuration": "https://oapi.dingtalk.com/topapi/attendance/getleaveapproveduration?access_token={0}",
  42. "GetBlackBoard": "https://oapi.dingtalk.com/topapi/blackboard/listtopten?access_token={0}"
  43. }
  44. }