123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899 |
- syntax = "proto3";
- package relation.v1;
- option go_package = "v1";
- import "github.com/gogo/protobuf/gogoproto/gogo.proto";
- service App {
-
- /** 关注接口
- * 【粉版APP5.31 关注排序改版】App首页我的关注部分【全量数据】
- */
- rpc LiveHomePage (AppLiveHomePageReq) returns (AppLiveHomePageResp);
- }
- message AppLiveHomePageReq {
- // 页号
- int64 relation_page = 1 [(gogoproto.jsontag) = "relation_page"];
- }
- message AppLiveHomePageResp {
- //
- int64 code = 1 [(gogoproto.jsontag) = "code"];
- //
- string msg = 2 [(gogoproto.jsontag) = "msg"];
- //
- string message = 3 [(gogoproto.jsontag) = "message"];
- //
- Data data = 4 [(gogoproto.jsontag) = "data"];
-
- message Rooms {
- //
- int64 roomid = 1 [(gogoproto.jsontag) = "roomid"];
- //
- int64 uid = 2 [(gogoproto.jsontag) = "uid"];
- //
- string uname = 3 [(gogoproto.jsontag) = "uname"];
- //
- string face = 4 [(gogoproto.jsontag) = "face"];
- //
- string cover = 5 [(gogoproto.jsontag) = "cover"];
- //
- string title = 6 [(gogoproto.jsontag) = "title"];
- //
- int64 area = 7 [(gogoproto.jsontag) = "area"];
- //
- int64 live_time = 8 [(gogoproto.jsontag) = "live_time"];
- //
- string area_name = 9 [(gogoproto.jsontag) = "area_name"];
- //
- int64 area_v2_id = 10 [(gogoproto.jsontag) = "area_v2_id"];
- //
- string area_v2_name = 11 [(gogoproto.jsontag) = "area_v2_name"];
- //
- string area_v2_parent_name = 12 [(gogoproto.jsontag) = "area_v2_parent_name"];
- //
- int64 area_v2_parent_id = 13 [(gogoproto.jsontag) = "area_v2_parent_id"];
- //
- string live_tag_name = 14 [(gogoproto.jsontag) = "live_tag_name"];
- //
- int64 online = 15 [(gogoproto.jsontag) = "online"];
- //
- string playurl = 16 [(gogoproto.jsontag) = "playurl"];
- //
- repeated int64 accept_quality = 17 [(gogoproto.jsontag) = "accept_quality"];
- //
- int64 current_quality = 18 [(gogoproto.jsontag) = "current_quality"];
- //
- int64 pk_id = 19 [(gogoproto.jsontag) = "pk_id"];
- //
- int64 official_verify = 20 [(gogoproto.jsontag) = "official_verify"];
- //
- string link = 21 [(gogoproto.jsontag) = "link"];
- //
- int64 special_attention = 22 [(gogoproto.jsontag) = "special_attention"];
- //
- int64 broadcast_type = 23 [(gogoproto.jsontag) = "broadcast_type"];
- }
-
- message Data {
- //
- int64 total_count = 1 [(gogoproto.jsontag) = "total_count"];
- //
- int64 card_type = 2 [(gogoproto.jsontag) = "card_type"];
- //
- int64 big_card_type = 3 [(gogoproto.jsontag) = "big_card_type"];
- //
- string time_desc = 4 [(gogoproto.jsontag) = "time_desc"];
- //
- string uname_desc = 5 [(gogoproto.jsontag) = "uname_desc"];
- //
- string tags_desc = 6 [(gogoproto.jsontag) = "tags_desc"];
- //
- repeated Rooms rooms = 7 [(gogoproto.jsontag) = "rooms"];
- }
- }
|