6bed393c12
Backend Tests / backend-unit-test (push) Has been cancelled
Backend Tests / benchmark-test (push) Has been cancelled
CI@main / Node.js v22 (ubuntu-latest) (push) Has been cancelled
Thrift Syntax Validation / validate-thrift (push) Has been cancelled
License Check / License Check (push) Has been cancelled
15 lines
643 B
Thrift
15 lines
643 B
Thrift
include "../base.thrift"
|
|
namespace go marketplace.marketplace_common
|
|
|
|
struct Price {
|
|
1: i64 Amount (agw.key = "amount",agw.js_conv="str",api.js_conv="true",agw.cli_conv="str",api.body= "amount"), // amount
|
|
2: string Currency (agw.key = "currency",api.body= "currency") , // Currencies such as USD and CNY
|
|
3: byte DecimalNum (agw.key = "decimal_num",api.body= "decimal_num") , // decimal places
|
|
}
|
|
|
|
enum FollowType {
|
|
Unknown = 0, // Unknown
|
|
Followee = 1, // followee
|
|
Follower = 2, // follower
|
|
MutualFollow = 3, // MutualFollow
|
|
} |