---
title: "6.2 岗位操作日志拦截"
docId: "405811174479757312"
source: "https://weapp.eteams.cn/build/techdoc/wdoc/index.html#/public/repository/91f5067f-775e-48f4-93a2-ce84ca0b9c2e/doc/405811174479757312"
---
- 二开标识
  
  ```text
   
  HRM_JOB_POSITION_OP_LOG
  
  ```
- 入参说明（Map<String, Object>，从request中获取 params）
  
  | 参数 | 类型 | 说明 |
  | --- | --- | --- |
  | key | string | 固定提供：param |
  | value | bean | 对应的参数信息 |
- param参数说明

| 参数 | 类型 | 说明 |
| --- | --- | --- |
| logInfo | HrmElogBean | 操作日志 |
| tenantKey | String | 租户信息 |
| operator | Long | 操作人 |

- 示例
  
  ```java
  public WeaHookResponse handle(WeaHookRequest request, WeaHookResponse response, AppInfo appInfo) throws Exception {
          //入参，修改入参并不会影响到埋点的原始数据
          Map<String, Object> param = request.getParams();
  
          //获取操作日志
          HrmElogBean logInfo = (HrmElogBean)param.get("logInfo");
  
          //TODO 实现二开逻辑向建模表中写入需要的历史信息数据
  
          Map<String, Object> result = ImmutableMapUtil.of("status", 1);
  
          //设置出参
          response.setResult(result);
          return response;
      }
  ```
