From f9b3db4058edc0e96da21082a77e2043d544e459 Mon Sep 17 00:00:00 2001 From: alick-liming Date: Thu, 5 Nov 2020 19:25:31 +0800 Subject: [PATCH] =?UTF-8?q?rdb:rabbitmq=E8=B5=84=E6=BA=90=E6=93=8D?= =?UTF-8?q?=E4=BD=9C=E5=90=8D=E7=A7=B0=E7=BB=9F=E4=B8=80=20(#382)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * rdb 资源cate分类统计接口 * 代码调节 * rdb:rabbitmq资源操作名称统一 Co-authored-by: alickliming --- src/modules/rdb/rabbitmq/request_handler.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/rdb/rabbitmq/request_handler.go b/src/modules/rdb/rabbitmq/request_handler.go index ff5b2b9a..0beba2da 100644 --- a/src/modules/rdb/rabbitmq/request_handler.go +++ b/src/modules/rdb/rabbitmq/request_handler.go @@ -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")