syntax = "proto3";
package cms;
option go_package = "bsm/full/module/base/cms/pb;cms";
import "module/base/cms/proto/const.proto";

// 标签
service Tags {
    //标签列表
  rpc Fetch (base_cms_blocks.IdentRequest) returns (TagsListReply) {};

    //创建标签
  rpc Create(base_cms_blocks.CmsTagsItem) returns (base_cms_blocks.StatusReply) {};

    //修改标签
  rpc Modify(base_cms_blocks.CmsTagsItem) returns (base_cms_blocks.StatusReply) {};

    //删除标签
  rpc Delete(base_cms_blocks.IdentRequest) returns (base_cms_blocks.StatusReply) {};
}

  // 标签列表
message TagsListReply {
  repeated base_cms_blocks.CmsTagsItem data  = 1; // 数据
  int64             count = 2; // 总数
}
