From ad0ec7e4a027f694e8a8e00965cb2d0fecf79a0b Mon Sep 17 00:00:00 2001 From: 10295 <1029559041@qq.com> Date: Tue, 19 Jun 2018 20:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=B9=E5=B9=95=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/src/test/resources/QueryComment.thrift | 21 +++++++++++++++++++++ core/src/test/resources/TSDM.thrift | 5 +++++ 2 files changed, 26 insertions(+) create mode 100644 core/src/test/resources/QueryComment.thrift create mode 100644 core/src/test/resources/TSDM.thrift diff --git a/core/src/test/resources/QueryComment.thrift b/core/src/test/resources/QueryComment.thrift new file mode 100644 index 0000000..a3f7d39 --- /dev/null +++ b/core/src/test/resources/QueryComment.thrift @@ -0,0 +1,21 @@ +/** +* 查询弹幕信息 +* +**/ +namespace java core.thrift.comment + +service QueryComment{ +/** +* 查询单个cid弹幕数 +**/ + i32 commentSum(1:i32 cid) +/** +* 批量查询多个cid弹幕数 + **/ + list commentSumList(1:list cids) + /** + * 批量下载弹幕 +**/ + string download(1:list cids,2:string fileName) + +} \ No newline at end of file diff --git a/core/src/test/resources/TSDM.thrift b/core/src/test/resources/TSDM.thrift new file mode 100644 index 0000000..c5fdbcc --- /dev/null +++ b/core/src/test/resources/TSDM.thrift @@ -0,0 +1,5 @@ +namespace py core.thrift.task + service TSDM{ + bool qiandao() + bool word() + } \ No newline at end of file