zoukankan      html  css  js  c++  java
  • 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,获取到用户信息

      集成方实现第3和第4步即可。



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

    主数据相关接口:

    查询教师 /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:1000/static/index.html#/docs/interface-student/getStudentInfo
    // 获取教师信息
    http://open.teewon.net:1000/static/index.html#/docs/interface-teacher/getTeacherInfo


    请求地址示例: 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

  • 相关阅读:
    Ruby on rails3新手谈(1):Ruby on rails环境搭建
    更灵活,更易维护的WebHandler之通用webHandler编码方案(2)
    .Net Remoting之windows服务部署
    Ruby on rails3新手谈(2):简单的例子helloworld
    分组取最新记录的SQL
    验证日期的Javascript
    使用Javascript创建遮罩层并模拟Alert、Confirm对话框
    取得当前鼠标的X,Y坐标,及相关属性的介绍
    B/S结构系统中使用Session遇到的问题
    IE与FireFox的兼容性问题
  • 原文地址:https://www.cnblogs.com/scode2/p/9290185.html
Copyright © 2011-2022 走看看