臭名昭著aTrust隔离计划1.臭名昭著aTrust隔离计划2.VPN原理与aTrust隔离网络实践3.docker-easyconnect到底做了什么4.TUN(tunnel-隧道-虚拟网卡)模式
个人项目
personal(个人展示)GitHub Actions 自动部署个人展示项目
基于Quartz搭建的个人博客1.Quartz个人博客使用教程2.使用 rsync 增量部署 Quartz 博客3.使用 GitHub Actions 自动部署 Quartz 博客5.域名绑定6.CDN加速Obsidian、双向链接与知识图谱
旅行
行程攻略青岛三日游行程攻略
前端
NginxNginx配置与反向代理入门
Nodenpm与npx的区别
中华财险-公司项目
对外接口文档
基础数据码表对外接口(仅支持rpc调用)业务码表对外接口应用主数据对外接口
基础运营查询版本更新日志详情消息中心对外接口站内信对外接口站内信模板配置手册
权限中心权限中心对外接口文档(最新)权限中心对外接口文档前端ACL-CORE FACADE依赖版本
审计中心审计中心对外接口文档audit-center-facade版本
审批中心工作流迁审批流现状工作流迁审批流API能力替换方案老审批流接口文档审批中心接口文档审批中心业务回调FAQ
账号中心内部系统对接单点登录内部系统对接认证中心三方网页应用登录授权账号中心对外接口文档前端账号中心RPC接口文档账户变更对外广播消息文档账户中心对外接口HRMS外部员工变更广播消息文档HRMS外部员工对外接口
组织员工岗位🔥机构映射SDK接口文档员工岗位变更通知说明组织机构管营一体概念与用法组织员工对外广播消息文档组织员工岗位对外接口文档组织员工岗位对外接口文档前端组织员工岗位数据模型组织员工主数据业务场景案例organization-facade版本
hrms(大型人力资源外包管理系统)
项目架构说明HRMS Maven模块与依赖说明
项目说明0.流程中心模块0.组织模块说明1.业务线模块2.计划模块3.项目模块4.协议模块5.供应商模块6.合约域模块7.外包人员模块*核心:外包人员生命周期
项目运维外包人员项目编制差异排查与修复2.HRMS相关问题排查4.修改externalId(externalId和accountId不一致)
需求-系分
1.内部转外包0723外包人员关联历史内部账号系分新增外包人员关联历史账号内容(紧急0723上线)需求
2.工作岗位0820工作岗位0820需求工作岗位0820需求-系分
3.用工模式调整0917内部人员转外包用工系统需求2内部人员转外包用工系统需求-系分
sso(账号中心-单点登录)
项目架构说明aboss-sso项目架构入门AOP统一日志打印链路Maven多模块项目高级知识OAuth2.0
项目说明1.SSO-OAuth2.0与IDaaS登录流程2.外部账号创建流水号并发问题分析
AI
使用说明
第三方插件&技能简介Archify使用与安装指南Ponytail使用指南
CodexCodex CLI与IDE区别及使用指南Codex Hook单独配置与提交通知Codex MCP安装与使用指南Codex第三方插件安装与使用指南
Agent开发1.LLM、Token、上下文窗口与模型参数2.大模型 API、请求参数与响应结构3.Spring AI ChatClient4.Prompt、System Prompt、Prompt 模板6.结构化输出、JSON Schema7.SSE 流式响应8.会话 ID、聊天记录、Redis9.超时、重试、限流、降级10.完成可运行聊天接口
GitGit常用命令与Obsidian推送排查
Java
面试题Java基础与集合面试题
AtomicInteger原子计数与并发安全ConcurrentHashMap并发安全与计数Java线程、线程池与Future
python
基础Python基础语法
HTTPXHRMS员工详情接口调用(Python HTTPX)

https://cic_irc.yuque.com/tyl581/ggwv9w/ie2k9qo05n1mhy6r

接口列表

1.根据账户id获取用户详细

URL: services.queryAccountDetai

Type: POST

Content-Type: application/json; charset=utf-8

Description: com.aliyun.fsi.insurance.sso.support.api.AccountFrontFacade#queryAccountDetail(com.aliyun.fsi.insurance.sso.support.dto.AccountIdQry)

请求参数:

ParameterTypeDescriptionRequiredSince
accIdstring账户idtrue-

请求示例:

import { services } from '@cic/mp-support';

services.queryAccountDetai({ accId: '123455' })

返回参数说明:

FieldTypeDescriptionSince
accIdstring账户Id-
accountNamestring登录名称-
externalIdstring外部id-
displayNamestring显示名称-
accountRolestring账户角色(1:普通用户,2:超级管理员)-
accountTypestring账户类型(0:内部账户,1:外部账户)-
phoneNostring手机号-
emailstring邮箱-
accountStartDtstring账户有效期-起期-
accountEndDtstring账户有效期-止期-
faceIdstring人脸识别图片fileid-
avatarIdstring账户图片fileid-
branchOrgCodestring归属组织编码-
branchOrgNamestring归属组织名称-
operatingOrgCodestring所属经营组织编码-
operatingOrgNamestring所属经营组织编码-
externalSourcestring外部id所属来源(应用名)-
externalHeadstring外部负责人-
isValidboolean是否有效-
beforePhoneNostring之前使用的手机号-
beforeEmailstring之前使用的邮箱-
gmtModifiedstring修改时间-
twoFactorboolean二次认证状态(true:开启,false:关闭)-

返回参数示例:

{
  "accId": "170",
  "accountName": "nora.towne",
  "externalId": "170",
  "displayName": "nora.towne",
  "accountRole": "tjzhgl",
  "accountType": "vvuvlj",
  "phoneNo": "0cck4w",
  "email": "rayford.corwin@yahoo.com",
  "accountStartDt": "4argbh",
  "accountEndDt": "b7vybw",
  "faceId": "170",
  "avatarId": "170",
  "branchOrgCode": "92032",
  "branchOrgName": "nora.towne",
  "operatingOrgCode": "92032",
  "operatingOrgName": "nora.towne",
  "externalSource": "156fl1",
  "externalHead": "pukvac",
  "isValid": true,
  "beforePhoneNo": "r5ad5t",
  "beforeEmail": "rayford.corwin@yahoo.com",
  "gmtModified": "2023-12-22 14:40:22",
  "twoFactor": true
}

2.根据账户名(左匹配)或者id模糊或者机构(返回机构子机构账户)查询(分页,最多返回100条)

URL: services.queryAccountListByKeyword

Type: POST

Content-Type: application/json; charset=utf-8

Description: com.aliyun.fsi.insurance.sso.support.api.AccountFrontFacade#accountListByKeyword(com.aliyun.fsi.insurance.sso.support.dto.KeywordQry)

请求参数:

ParameterTypeDescriptionRequiredSince
pageSizeint32每页展示条数(最大100条)true-
pageIndexint32当前页码true-
keywordstring模糊查询关键字
账号名
用户名
false-
accountTypestring账户类型(0:内部账户,1:外部账户)false-
isValidboolean在职状态(true:在职,false:离职)false-
branchOrgCodessting[]归属组织编码集合false-

请求示例:

import { services } from '@cic/mp-support';

services.queryAccountListByKeyword({
  pageSize: 10,
  pageIndex: 1,
  keyword: "dchmwq",
  accountType: "0",
  isValid: true,
  branchOrgCodes: ["o27s4v" ]
})

返回参数说明:

FieldTypeDescriptionSince
dataarrayNo comments found.-
└─accIdstring账户Id-
└─accountNamestring登录名称-
└─externalIdstring外部id-
└─displayNamestring显示名称-
└─accountRolestring账户角色(1:普通用户,2:超级管理员)-
└─accountTypestring账户类型(0:内部账户,1:外部账户)-
└─phoneNostring手机号-
└─emailstring邮箱-
└─accountStartDtstring账户有效期-起期-
└─accountEndDtstring账户有效期-止期-
└─faceIdstring人脸识别图片fileid-
└─avatarIdstring账户图片fileid-
└─branchOrgCodestring归属组织编码-
└─branchOrgNamestring归属组织名称-
└─operatingOrgCodestring所属经营组织编码-
└─operatingOrgNamestring所属经营组织编码-
└─externalSourcestring外部id所属来源(应用名)-
└─externalHeadstring外部负责人-
└─isValidboolean是否有效-
└─beforePhoneNostring之前使用的手机号-
└─beforeEmailstring之前使用的邮箱-
└─gmtModifiedstring修改时间-
└─twoFactorboolean二次认证状态(true:开启,false:关闭)-
pageIndexint32No comments found.-
totalCountint32No comments found.-
pageSizeint32No comments found.-
messageobjectNo comments found.-
└─codestringNo comments found.-
└─messagestringNo comments found.-
└─errorContextobjectNo comments found.-
└─errorStackarrayNo comments found.-
└─thirdPartyErrorstringNo comments found.-
└─errorVariableMapmapNo comments found.-
└─any objectobjectany object.-
statusint32No comments found.-
needRetrybooleanNo comments found.-
extendInfomapNo comments found.-
└─any objectobjectany object.-

返回参数示例:

{
  "data": [
    {
      "accId": "170",
      "accountName": "nora.towne",
      "externalId": "170",
      "displayName": "nora.towne",
      "accountRole": "ndeymc",
      "accountType": "q9f1ss",
      "phoneNo": "0jme82",
      "email": "rayford.corwin@yahoo.com",
      "accountStartDt": "kyq0zl",
      "accountEndDt": "8rm8i9",
      "faceId": "170",
      "avatarId": "170",
      "branchOrgCode": "92032",
      "branchOrgName": "nora.towne",
      "operatingOrgCode": "92032",
      "operatingOrgName": "nora.towne",
      "externalSource": "6e9ytr",
      "externalHead": "pnu0vk",
      "isValid": true,
      "beforePhoneNo": "vazz7o",
      "beforeEmail": "rayford.corwin@yahoo.com",
      "gmtModified": "2023-12-22 14:40:22",
      "twoFactor": true
    }
  ],
  "pageIndex": 1,
  "totalCount": 176,
  "pageSize": 10,
  "message": {
    "code": "92032",
    "message": "success",
    "errorContext": {
      "errorStack": [
        {
          "object": "any object"
        }
      ],
      "thirdPartyError": "1u9om0",
      "errorVariableMap": {
        "mapKey": {}
      }
    }
  },
  "status": 201,
  "needRetry": true,
  "extendInfo": {
    "mapKey": {}
  }
}

3.根据账户id集合、账号类型、在职离职状态查找用户详细信息列表

URL: services.queryAccountListByAccountIds

Type: POST

Content-Type: application/json; charset=utf-8

Description: com.aliyun.fsi.insurance.sso.support.api.AccountFrontFacade#accountListByAccountIds(com.aliyun.fsi.insurance.sso.support.dto.AccountIdsQry)

请求参数:

ParameterTypeDescriptionRequiredSince
accIdssting[]账户id集合(最多100条)true-

请求示例:

import { services } from '@cic/mp-support';

services.queryAccountListByAccountIds({accIds: ["ldoswc"]})

返回参数说明:

FieldTypeDescriptionSince
accIdstring账户Id-
accountNamestring登录名称-
externalIdstring外部id-
displayNamestring显示名称-
accountRolestring账户角色(1:普通用户,2:超级管理员)-
accountTypestring账户类型(0:内部账户,1:外部账户)-
phoneNostring手机号-
emailstring邮箱-
accountStartDtstring账户有效期-起期-
accountEndDtstring账户有效期-止期-
faceIdstring人脸识别图片fileid-
avatarIdstring账户图片fileid-
branchOrgCodestring归属组织编码-
branchOrgNamestring归属组织名称-
operatingOrgCodestring所属经营组织编码-
operatingOrgNamestring所属经营组织编码-
externalSourcestring外部id所属来源(应用名)-
externalHeadstring外部负责人-
isValidboolean是否有效-
beforePhoneNostring之前使用的手机号-
beforeEmailstring之前使用的邮箱-
gmtModifiedstring修改时间-
twoFactorboolean二次认证状态(true:开启,false:关闭)-

返回参数示例:

[
  {
    "accId": "170",
    "accountName": "nora.towne",
    "externalId": "170",
    "displayName": "nora.towne",
    "accountRole": "ugilun",
    "accountType": "40nbnc",
    "phoneNo": "0yyrr8",
    "email": "rayford.corwin@yahoo.com",
    "accountStartDt": "h33oti",
    "accountEndDt": "u52z99",
    "faceId": "170",
    "avatarId": "170",
    "branchOrgCode": "92032",
    "branchOrgName": "nora.towne",
    "operatingOrgCode": "92032",
    "operatingOrgName": "nora.towne",
    "externalSource": "q4m9jt",
    "externalHead": "pkgbfe",
    "isValid": true,
    "beforePhoneNo": "oevyd0",
    "beforeEmail": "rayford.corwin@yahoo.com",
    "gmtModified": "2023-12-22 14:40:22",
    "twoFactor": true
  }
]

4.获取登陆成功后用户的信息

URL: services.queryCurrentUser

Type: POST

Content-Type: application/json; charset=utf-8

Description: com.aliyun.fsi.insurance.sso.support.api.AccountFrontFacade#getLoginInfo()

请求示例:

import { services } from '@cic/mp-support';

services.queryCurrentUser()

/**
 * 建议在组件内使用,应用内使用useModel('@@initialState')方式
 */
useCurrentUser()

返回参数说明:

FieldTypeDescriptionSince
accountIdstring账户id-
accountNamestring账户名称-
accAttrstring账户属性-
fileIdstring账户头像id-
personnelCodestring所属人员工号-
personnelNamestring所属人员名称-
branchOrgNamestring分支机构名称-
branchOrgCodestring分支机构代码-
operatingOrgNamestring所属的经营组织名称-
operatingOrgCodestring所属的经营组织编码-

返回参数示例:

{
  "accountId": "170",
  "accountName": "nora.towne",
  "accAttr": "5cqbh7",
  "fileId": "170",
  "personnelCode": "92032",
  "personnelName": "nora.towne",
  "branchOrgName": "nora.towne",
  "branchOrgCode": "92032",
  "operatingOrgName": "nora.towne",
  "operatingOrgCode": "92032"
}