refactor: add unified all service gateway
This commit is contained in:
@@ -15,13 +15,13 @@ service Pages{
|
||||
rpc GetByKey (GetPagesByKeyRequest) returns (PagesItem) {};
|
||||
|
||||
//发布单页
|
||||
rpc Create(PagesItem) returns (blocks.StatusReply) {};
|
||||
rpc Create(PagesItem) returns (base_cms_blocks.StatusReply) {};
|
||||
|
||||
//修改单页
|
||||
rpc Modify(PagesItem) returns (blocks.StatusReply) {};
|
||||
rpc Modify(PagesItem) returns (base_cms_blocks.StatusReply) {};
|
||||
|
||||
//删除单页
|
||||
rpc Delete(blocks.IdentRequest) returns (blocks.StatusReply) {};
|
||||
rpc Delete(base_cms_blocks.IdentRequest) returns (base_cms_blocks.StatusReply) {};
|
||||
}
|
||||
|
||||
// 根据KEY获取内容请求
|
||||
@@ -45,8 +45,8 @@ message PagesItem{
|
||||
bool has_accessory = 12 [json_name = "has_accessory"]; //是否有附件,默认没有
|
||||
|
||||
repeated string accessory_identity_array = 13 [json_name = "accessory_identity_array"]; //附件Identity 列表
|
||||
repeated blocks.CmsAccessoryItem accessory_data = 14 [json_name = "accessory_data"]; //附件数据
|
||||
repeated blocks.CmsTagsItem tags_data = 15 [json_name = "tags_data"]; // 标签数据
|
||||
repeated base_cms_blocks.CmsAccessoryItem accessory_data = 14 [json_name = "accessory_data"]; //附件数据
|
||||
repeated base_cms_blocks.CmsTagsItem tags_data = 15 [json_name = "tags_data"]; // 标签数据
|
||||
repeated string tags_identity_array = 16 [json_name = "tags_identity_array"]; // 标签集Identity 列表
|
||||
int64 hits = 17; //点击量
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user