应用可用范围变更
事件描述
应用在企业内可以使用范围发生变化时触发
订阅说明
| 事件主体 | kso.developer.application.subject |
|---|---|
| 权限要求 | 无 |
| 解密方式 | 详见 解密算法 |
事件体(解密前)
| 名称 | 参数类型 | 说明 |
|---|---|---|
| topic | string | 消息主题 kso.developer.application.subject |
| operation | string | 消息变更动作update:更新 |
| time | integer | 时间(秒为单位的时间戳) |
| nonce | string | iv 向量(解密时使用) |
| signature | string | 消息签名 |
| encrypted_data | string | 消息变更的加密字段 |
事件体示例(解密前)
json
{
"topic": "kso.developer.application.subject",
"operation": "update",
"time": 1704074400,
"nonce": "71***********7",
"signature": "w6**********6Q",
"encrypted_data": "B7**********iA=="
}事件数据体(解密后)
| 名称 | 参数类型 | 是否必带 | 说明 |
|---|---|---|---|
| company_id | string | 是 | 企业 id |
| app_id | string | 是 | 应用 id |
事件体数据示例(解密后)
json
{
"company_id": "A*****6",
"app_id": "AK20*****1"
}