feat(API): 吧页面封面图
This commit is contained in:
parent
c78af1494f
commit
c513006fd4
|
|
@ -0,0 +1,18 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package tieba;
|
||||
|
||||
option java_package = "com.huanchengfly.tieba.post.api.models.protos";
|
||||
|
||||
|
||||
message BlockPopInfo {
|
||||
int32 can_post = 1;
|
||||
string block_info = 2;
|
||||
string ahead_info = 3;
|
||||
string ahead_url = 4;
|
||||
string ok_info = 5;
|
||||
int32 ahead_type = 6;
|
||||
int32 appeal_status = 7;
|
||||
string appeal_msg = 8;
|
||||
string sub_block_info = 11;
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package tieba.frsPage;
|
||||
|
||||
option java_package = "com.huanchengfly.tieba.post.api.models.protos.frsPage";
|
||||
|
||||
import "FrsPage/HeadImgs.proto";
|
||||
import "FrsPage/Size.proto";
|
||||
|
||||
message ActivityHead {
|
||||
int32 activity_type = 1;
|
||||
string activity_title = 2;
|
||||
repeated HeadImgs head_imgs = 3;
|
||||
Size top_size = 4;
|
||||
string obj_id = 5;
|
||||
string pull_down_url = 7;
|
||||
int32 pull_down_interval = 8;
|
||||
string pull_down_pic_ios = 9;
|
||||
string pull_down_pic_android = 10;
|
||||
string pull_down_exposure_url = 11;
|
||||
string pull_down_click_url = 12;
|
||||
bool is_ad = 13;
|
||||
string pull_down_schema = 14;
|
||||
string pull_down_package_name = 15;
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package tieba.frsPage;
|
||||
|
||||
option java_package = "com.huanchengfly.tieba.post.api.models.protos.frsPage";
|
||||
|
||||
message CoverImageColor {
|
||||
string value = 1;
|
||||
int32 model = 2;
|
||||
}
|
||||
|
|
@ -17,6 +17,7 @@ import "FrsPage/NavTabInfo.proto";
|
|||
import "FrsPage/Group.proto";
|
||||
import "FrsPage/AdParam.proto";
|
||||
import "FrsPage/ForumInfo.proto";
|
||||
import "FrsPage/ActivityHead.proto";
|
||||
|
||||
message FrsPageRequestData {
|
||||
optional string ad_context_list = 60;
|
||||
|
|
@ -75,9 +76,9 @@ message FrsPageResponseData {
|
|||
int32 server_time = 14;
|
||||
repeated User user_list = 17;
|
||||
repeated FrsTabInfo frs_tab_info = 22;
|
||||
ActivityHead activity_head = 23;
|
||||
NavTabInfo nav_tab_info = 37;
|
||||
ForumRuleStatus forum_rule = 105;
|
||||
|
||||
}
|
||||
|
||||
message FrsPageResponse {
|
||||
|
|
|
|||
|
|
@ -0,0 +1,38 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package tieba.frsPage;
|
||||
|
||||
option java_package = "com.huanchengfly.tieba.post.api.models.protos.frsPage";
|
||||
|
||||
import "FrsPage/CoverImageColor.proto";
|
||||
import "FrsPage/VideoImageColor.proto";
|
||||
|
||||
message HeadImgs {
|
||||
string img_url = 1;
|
||||
string pc_url = 2;
|
||||
string title = 3;
|
||||
string subtitle = 4;
|
||||
string btn_text = 5;
|
||||
string tag_name_url = 6;
|
||||
string tag_name_wh = 7;
|
||||
string schema = 8;
|
||||
repeated string third_statistics_url = 9;
|
||||
uint32 has_second_page = 10;
|
||||
string package_name = 11;
|
||||
int32 download_is_thirdpage = 12;
|
||||
string download_appname = 13;
|
||||
string download_developer = 14;
|
||||
string download_package_size = 15;
|
||||
string download_url = 16;
|
||||
string download_img = 17;
|
||||
string download_version = 18;
|
||||
string download_user_power = 19;
|
||||
string download_privacy_policy = 20;
|
||||
string download_package_name = 21;
|
||||
int32 download_item_id = 22;
|
||||
string download_appid = 23;
|
||||
string cover_url = 24;
|
||||
string play_url = 25;
|
||||
CoverImageColor cover_image_color = 26;
|
||||
repeated VideoImageColor video_image_color = 27;
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package tieba.frsPage;
|
||||
|
||||
option java_package = "com.huanchengfly.tieba.post.api.models.protos.frsPage";
|
||||
|
||||
message Size {
|
||||
int32 width = 1;
|
||||
int32 height = 2;
|
||||
}
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package tieba.frsPage;
|
||||
|
||||
option java_package = "com.huanchengfly.tieba.post.api.models.protos.frsPage";
|
||||
|
||||
message VideoImageColor {
|
||||
uint32 time = 1;
|
||||
string color = 2;
|
||||
}
|
||||
|
|
@ -1,8 +1,8 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package tieba.frsPage;
|
||||
package tieba;
|
||||
|
||||
option java_package = "com.huanchengfly.tieba.post.api.models.protos.frsPage";
|
||||
option java_package = "com.huanchengfly.tieba.post.api.models.protos";
|
||||
|
||||
message PostPrefix {
|
||||
int32 mode = 1;
|
||||
|
|
@ -0,0 +1,12 @@
|
|||
syntax = "proto3";
|
||||
|
||||
package tieba;
|
||||
|
||||
option java_package = "com.huanchengfly.tieba.post.api.models.protos";
|
||||
|
||||
message RecomTagInfo {
|
||||
int32 id = 1;
|
||||
string name = 2;
|
||||
string pic = 3;
|
||||
string first_class = 4;
|
||||
}
|
||||
Loading…
Reference in New Issue