MarketingSystemDataExportTool/grpc/reseller/balancetcc/balance_tcc_query.proto

26 lines
751 B
Protocol Buffer
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

syntax = "proto3";
package reseller.resellerv1;
option go_package = "./reseller/balancetccquery;balancetccquery";
// 钱包更新Tcc查询GRPC
// 这里仅定义结构,目的是方便动态调用和调用直接使用
service Query {
// 获取分销商等级列表
rpc Query(QueryReq) returns (QueryResp) {}
}
// 请求参数
message QueryReq {
// 原子请求id结构为"业务标识-业务数据id-雪花ID"yum-123-123456789012345678有新业务接入时请联系相关负责人分配业务标识
string request_id = 1;
// 类型,和原发起时一致
int32 type = 2;
}
message QueryResp {
// 查询结果1未知2成功3失败当返回失败时会回滚余额的操作
int32 status = 1;
}