go-common/app/service/live/av/api/liverpc/v1/PayLive.proto

38 lines
1.0 KiB
Protocol Buffer
Raw Normal View History

2019-04-22 10:49:16 +00:00
syntax = "proto3";
package av.v1;
option go_package = "v1";
import "github.com/gogo/protobuf/gogoproto/gogo.proto";
service PayLive {
/**
*
*/
rpc liveValidate (PayLiveLiveValidateReq) returns (PayLiveLiveValidateResp);
}
message PayLiveLiveValidateReq {
// 房间id
int64 room_id = 1 [(gogoproto.jsontag) = "room_id"];
// 来源pc表示PC端pc_link表示PC直播姬ios表示ios端ios_link表示ios_link端android安卓端android_link安卓link端ipadipadandroid_pad:安卓pad端live_mng表示live后台;vc_mng表示vc后台;"
string platform = 2 [(gogoproto.jsontag) = "platform"];
}
message PayLiveLiveValidateResp {
//
int64 code = 1 [(gogoproto.jsontag) = "code"];
//
string msg = 2 [(gogoproto.jsontag) = "msg"];
//
Data data = 3 [(gogoproto.jsontag) = "data"];
message Data {
// 1 允许 ; 0 不允许
int64 permission = 1 [(gogoproto.jsontag) = "permission"];
}
}