You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"RequestBeforeEvent" is a type of "RequestEvent" (FORBIDDEN_EXCEPTION) and should not be created as a new class as it is redundant and difficult to maintain.
我认为requestBeforeEvent属于requestEvent的一种场景, 不应该单独创建一个类,有点多余
If it is necessary to separately monitor this type of event, it is recommended to add the constant "INVOCATION_REQUEST_BEFORE" and provide the "isRequestBeforeEvent" method.
"RequestBeforeEvent" is a type of "RequestEvent" (FORBIDDEN_EXCEPTION) and should not be created as a new class as it is redundant and difficult to maintain.
我认为requestBeforeEvent属于requestEvent的一种场景, 不应该单独创建一个类,有点多余
If it is necessary to separately monitor this type of event, it is recommended to add the constant "INVOCATION_REQUEST_BEFORE" and provide the "isRequestBeforeEvent" method.
RequestBeforeEvent属于RequestEvent的一种(访问限制),不应该新建一个类,过于冗余且不易维护,如果需要单独监听这种类型的事情,建议通过添加常量INVOCATION_REQUEST_BEFORE,并提供isRequestBeforeEvent方法即可,
forexample:
![image](https://private-user-images.githubusercontent.com/44110731/250515787-a1e22fa1-c1e8-4894-9a1b-29cb1c918953.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTcwNjQsIm5iZiI6MTczOTA5Njc2NCwicGF0aCI6Ii80NDExMDczMS8yNTA1MTU3ODctYTFlMjJmYTEtYzFlOC00ODk0LTlhMWItMjljYjFjOTE4OTUzLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDEwMjYwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWU5YjVlYzIwZmE5ODQ0YjQwZWVkYzQ3ZWM4ZTQ3MzFmMjBjMDgzZmRkZDhkMmUxZjUxN2QwMzgyOTZhNjc1NTcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.MJvj7qVp2Hsj8NOelSm5UdBwPj0c9xZZK8_RPWkQLeI)
![image](https://private-user-images.githubusercontent.com/44110731/250516133-1b21520e-afd1-4250-9b14-439481f30ae2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTcwNjQsIm5iZiI6MTczOTA5Njc2NCwicGF0aCI6Ii80NDExMDczMS8yNTA1MTYxMzMtMWIyMTUyMGUtYWZkMS00MjUwLTliMTQtNDM5NDgxZjMwYWUyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDEwMjYwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWUyNGEwODIwYzE1YTIzNjIzMGVkMWY0YjM4NDhmYTIxMDM1Yzg4MTliMTk1YTEyZTVlNGJmMjA2MDdjY2FmN2UmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ykkx5piajvisqafnqOqmWNMUAofB149Emf6_ZpFD1y4)
![image](https://private-user-images.githubusercontent.com/44110731/250516530-9494af6e-b6c9-4be9-ab21-cc8f4b8c6229.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwOTcwNjQsIm5iZiI6MTczOTA5Njc2NCwicGF0aCI6Ii80NDExMDczMS8yNTA1MTY1MzAtOTQ5NGFmNmUtYjZjOS00YmU5LWFiMjEtY2M4ZjRiOGM2MjI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMDklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjA5VDEwMjYwNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTcyNmE4NmIzNTIyYTVhOTY5ZDBhNTRjNWZmYWEwYWRhMjIyZDNlMDdlMTcyMTA3MjIzZGUwNGY2YWQ3YmU3ZGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.Rpguo4F5aXc1lK3xEAnVAcf5Muswl3tHOO82HruJ2rg)
add constant:
新增常量:
Add the toRequestBeforeEvent method:
新增RequestBeforeEvent结构体方法:
新增判断方法:
Add the isRequestBeforeEvent method:
The text was updated successfully, but these errors were encountered: