Browse Source

add 表情列表

master
DengBiao 2 years ago
parent
commit
a5e9e19f88
1 changed files with 13 additions and 0 deletions
  1. +13
    -0
      gim/business.ext.proto

+ 13
- 0
gim/business.ext.proto View File

@@ -2,6 +2,8 @@ syntax = "proto3";
package pb;
option go_package = "gim/pkg/pb/";

import "common.ext.proto";

service BusinessExt {
// 登录
rpc SignIn (SignInReq) returns (SignInResp);
@@ -13,8 +15,19 @@ service BusinessExt {
rpc SearchUser (SearchUserReq) returns (SearchUserResp);
// 上传文件至云端
rpc CloudUploadFile (CloudUploadFileReq) returns (CloudUploadFileResp);
// 获取表情
rpc EmoticonList (Empty) returns (EmoticonListResp);
}

message Emoticon {
string name = 1; // 名称
string img_url = 2; // 图片地址
string memo = 3; // 备注
int32 sort = 4; // 排序
}
message EmoticonListResp {
repeated Emoticon emoticons = 1;
}
message SignInReq {
string phone_number = 1; // 手机号
string code = 2; // 验证码


Loading…
Cancel
Save