go-common/app/service/live/live_user/api/liverpc/v1/Note.proto

40 lines
559 B
Protocol Buffer
Raw Normal View History

2019-04-22 10:49:16 +00:00
syntax = "proto3";
package live_user.v1;
option go_package = "v1";
service Note {
/**
*
*/
rpc get (NoteGetReq) returns (NoteGetResp);
}
message NoteGetReq {
}
message NoteGetResp {
// code
int64 code = 1;
// msg 
string msg = 2;
//
Data data = 3;
message Data {
// logo 的 url
string logo = 1;
// 标题
string title = 2;
// 内容
string content = 3;
// 跳转链接
string link = 4;
}
}