**简要描述：** 

- 根据事件ID获取下面的模块

**请求URL：** 
- `{host}/api/bs/mc/handle/messageRule/queryByEvent
  
**请求方式：**
- POST   http payload

**参数：** 
``` 
{“eventId”:113}
```
|参数名|必选|类型|说明|
|:----    |:---|:----- |-----   |
|eventId|是|int|事件ID|
 **返回示例**

``` 
{
    "code": 200,
    "msg": "接口返回成功",
    "status": true,
    "data": [
        {
            "sub": false,
            "rules": [
                {
                    "eventId": 1,
                    "sub": false,
                    "creator": "2224844809917112313",
                    "tenantKey": "tvii30fz80",
                    "level": 2,
                    "dataType": 2,
                    "moduleName": "审批",
                    "businessId": "751691466857119744",
                    "start": true,
                    "statue": 1,
                    "updateTime": "1658216818",
                    "type": 11,
                    "subModuleId": "0",
                    "createTime": "1658216818",
                    "ruleChannels": [
                        {
                            "channel": 1,
                            "config": {
                                "aid": 103
                            }
                        },
                        {
                            "channel": 2
                        }
                    ],
                    "name": "共享申请",
                    "eventName": "共享申请",
                    "supportRoles": "[]",
                    "id": "751691509781626881",
                    "moduleId": 114,
                    "allowUpdate": true,
                    "rulePriority": 0
                },
                {
                    "eventId": 1,
                    "sub": false,
                    "creator": "3905800511444409505",
                    "tenantKey": "all_teams",
                    "level": 1,
                    "dataType": 1,
                    "moduleName": "审批",
                    "businessId": "762789610752049153",
                    "start": true,
                    "statue": 1,
                    "updateTime": "1640846491",
                    "type": 10,
                    "subModuleId": "0",
                    "createTime": "1640846491",
                    "ruleChannels": [
                        {
                            "channel": 1,
                            "config": {
                                "aid": 103
                            }
                        },
                        {
                            "channel": 2
                        }
                    ],
                    "name": "共享申请",
                    "eventName": "共享申请",
                    "id": "677086523337629758",
                    "moduleId": 114,
                    "allowUpdate": true,
                    "rulePriority": 0
                }
            ],
            "moduleId": 114
			moduleName：“审批”
        }
    ]
}
```

 **返回参数说明** 

|参数名|类型|说明|
|:-----  |:-----|-----                           |
|code |int   |200成功  |
|moduleId |int   |模块ID  |
|moduleName |string   |模块名称  |
|sub |boolean   |是否有子模块  |
|rules |object   |规则信息  |




 **备注** 

- 更多返回错误代码请看首页的错误代码描述
