| 12345678910111213141516171819202122232425262728293031 |
- syntax = "proto3";
- package api.check;
- //import "google/api/annotations.proto";
- //import "google/protobuf/struct.proto";
- import "google/protobuf/empty.proto";
- option go_package = "git.ikuban.com/server/pw-protobuf/api/check;check";
- option java_multiple_files = true;
- option java_package = "api.check";
- service Check {
- rpc CheckText (CheckRequest) returns (CheckReply){};
- rpc CheckPicture (CheckRequest) returns (CheckReply){};
- rpc CheckVoice (CheckRequest) returns (CheckReply){};
- rpc CronRefreshBaiduToken (google.protobuf.Empty) returns (google.protobuf.Empty){};
- }
- message CheckRequest{
- string content = 1;// 内容 (url或者文本)
- int64 level = 2;// 审核的等级 (0是最高级)
- string openId = 3;
- string appId = 4;
- bool isMiniProgram = 5;// 是否是小程序用户
- }
- message CheckReply{
- bool isUnPass = 1;
- }
|