调整授权功能

This commit is contained in:
algotao
2025-11-23 12:01:33 +08:00
parent 4575590faa
commit c9d794430e
6 changed files with 51 additions and 45 deletions

View File

@@ -196,9 +196,9 @@ message GrantList {
// Grant 数据授权信息
message Grant {
uint32 srta_account_id = 1; // sRTA授权目标账号ID
uint32 target_account_id = 1; // sRTA授权目标账号ID
string grant_index = 2; // 授权索引。格式为 "index1, index2, index55-index64",例如 "1, 2, 55-64"
string dataspace_id = 3; // 授权数据空间ID
uint32 dataspace_id = 3; // 授权数据空间ID(数字型)
}
@@ -527,7 +527,7 @@ enum ErrorCode {
API_ERROR = 301; // 调用内部API错误
TARGET_ERROR = 401; // Target参数错误
PARAM_ERROR = 401; // 参数错误
}
enum CmdErrorCode {