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

  • 相关阅读:
    linux系统中输入输出重定向 0<、<、1>、>、2>、1>>、>>、2>>、&>、>&、&>>、2>&1、<<
    linux系统统计某一行出现特定字符的次数
    linux系统中常用的通配符*、?、[ ]、[^xxx]、{}
    R语言strsplit函数用法
    linux系统统计某一字符出现的次数
    什么时候你需要一个虚构函数是虚的
    strcpy的返回值有什么用?
    boost.array 使用实例
    《DB 查询分析器》使用技巧之(七)
    《微型电脑应用》2011年第11期刊登出《万能数据库查询分析器中的事务管理在Oracle中的应用》
  • 原文地址:https://www.cnblogs.com/scode2/p/9290185.html
Copyright © 2011-2022 走看看