.thrift文件示例

.thrift文件示例

namespace pascal tables.thrift

struct Goods {
1: optional string goodsid,
2: optional string goodsname
}

struct Units {
1: optional string unitid,
2: optional string unitname
}

struct Tables {
1: list<Goods> GoodsArr,
2: list<Units> UnitsArr
}

struct UpFile {
1: optional string filename,
2: optional binary filecontent
}

原文地址:https://www.cnblogs.com/hnxxcxg/p/15102383.html