rdb:rabbitmq资源操作名称统一 (#382)

* rdb 资源cate分类统计接口

* 代码调节

* rdb:rabbitmq资源操作名称统一

Co-authored-by: alickliming <alickliming@didi.global.com>
This commit is contained in:
alick-liming 2020-11-05 19:25:31 +08:00 committed by GitHub
parent 633f224be6
commit f9b3db4058
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -54,9 +54,9 @@ func dispatchHandler(method string, jsonBytes []byte) error {
switch method {
case "oplog_add":
return oplogAdd(jsonBytes)
case "resource_register":
case "res_create":
return resourceRegister(jsonBytes)
case "resource_unregister":
case "res_delete":
return resourceUnregister(jsonBytes)
default:
logger.Warning("mq_request.method not support")