ECO开放平台对接文档说明

应用集成:
  http://open.teewon.net:1000/static/index.html#/docs/flow/integrate
统一认证集成文档:
  http://open.teewon.net:1000/static/index.html#/docs/flow/oauth_integrate
只需要实现第一步,简易集成


相关接口文档地址:
  http://open.teewon.net:1000/static/index.html#/docs/interface-oauth/token
  单点登录,需要使用第四种,客户端扩展模式

  http://open.teewon.net:1000/static/index.html#/docs/interface-user/getUserByToken


接口说明:

必要的请求头
  Access-Token: fb74d420078c3f4428caeac6bbe141b0

单点登录流程说明:
  1.比如ECO平台登录账号,获取到TOKEN
  2.在应用中心点击 对接的系统时, ECO平台调用/accreditcode/getAccreditCode获取accredit_code,并跳转 对接系统配置的URL地址,传参accredit_code
  3.对接系统获取accredit_code后,调用获取令牌接口,获取到TOKEN
  4.对接系统根据TOKEN,获取到用户信息



=========================================================================================================================

主数据相关接口:

查询教师 /openapi-base/base/queryTeachers 文档地址:http://open.teewon.net:1000/#/docs/interface-teacher/queryTeachers
查询学生 /openapi-base/base/queryStudents 文档地址:http://open.teewon.net:1000/#/docs/interface-student/queryStudents
查询任教 /openapi-base/base/queryTeachs 文档地址:http://open.teewon.net:1000/#/docs/interface-teach/queryTeachs
查询班级 /openapi-base/base/joinSearchClasses 文档地址:http://open.teewon.net:1000/#/docs/interface-class/joinSearchClasses
查询学校 /openapi-base/base/joinSearchSchools 文档地址:http://open.teewon.net:1000/#/docs/interface-school/joinSearchSchools
查询账号 /openapi-uc/uc/userInfo 文档地址:http://open.teewon.net:1000/#/docs/interface-user/userInfo


请求地址示例: http://open.teewon.net:9000/openapi-uc/uc/userInfo

必要的请求头
Access-Token: fb74d420078c3f4428caeac6bbe141b0
用户id
X-User-Account: TWPAAS1200000765515
当前用户所在机构id
Current-Org-Id: TWPAAS1200000000388
租户id
Tenant-Id: KFZHR06

猜你喜欢

转载自www.cnblogs.com/scode2/p/9290185.html
ECO
今日推荐