From f8e795bc26ad4f3a0da14f30f644d723bbd4b086 Mon Sep 17 00:00:00 2001 From: gjs Date: Mon, 21 Sep 2026 16:53:41 +0800 Subject: [PATCH] bff --- bff/internal/response/status.go | 1 - rpc/message/message.proto | 2 +- rpc/record/record.proto | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/bff/internal/response/status.go b/bff/internal/response/status.go index 0102df9..2bb8f3e 100644 --- a/bff/internal/response/status.go +++ b/bff/internal/response/status.go @@ -45,7 +45,6 @@ var ( ErrorFormatDataError = NewError(11010, "格式化数据出错") ErrorDataNotExist = NewError(11011, "数据不存在") ErrorBindError = NewError(11012, "设备已绑定,请不要重复绑定") - ErrorBindOtherError = NewError(11013, "该设备已绑定其它用户,请不要重复绑定") ) func SetError(error Error, msg string) Error { diff --git a/rpc/message/message.proto b/rpc/message/message.proto index 98aaec2..2f316b3 100644 --- a/rpc/message/message.proto +++ b/rpc/message/message.proto @@ -50,7 +50,7 @@ service Message { }; rpc ApiMessageNumber(ApiMessageNumberRequest) returns(Response){ option (google.api.http) = { - get: "/api/v3/message/Number" + get: "/api/v3/message/number" body: "*" }; }; diff --git a/rpc/record/record.proto b/rpc/record/record.proto index 2f43169..7e430b5 100644 --- a/rpc/record/record.proto +++ b/rpc/record/record.proto @@ -58,7 +58,7 @@ message ItemsLoginRequest { service Record { rpc Items(ItemsRequest) returns(Response){ option (google.api.http) = { - get: "/admin/v3/log/operate" + get: "/admin/v3/log/action" body: "*" }; };