You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
syntax = "proto3" ;
//在web层重新生成pb.go的方法
/*
protoc -I Business/AppBase/AppBaseProto/ Business/AppBase/AppBaseProto/AppBase.proto --go_out=plugins=grpc:Business/AppBase/AppBaseProto
*/
package AppBaseProto ;
option go_package = ".;AppBaseProto" ;
option java_multiple_files = true ;
option java_package = "com.dsideal.dsmin.base" ;
option java_outer_classname = "AppBase" ;
option objc_class_prefix = "" ;
service AppBaseManage {
//获取单条
rpc GetAppBase ( ModelArg ) returns ( Reply ) { }
//增加
rpc AddAppBase ( ModelArg ) returns ( Reply ) { }
//批量删除
rpc DeleteAppBase ( DeleteIdsArg ) returns ( Reply ) { }
//修改
rpc UpdateAppBase ( ModelArg ) returns ( Reply ) { }
//查询(分页)
rpc PageAppBase ( QueryArg ) returns ( Reply ) { }
}
message ModelArg {
//系统ID
string AppId = 1 ;
//系统编码
string AppCode = 2 ;
//系统名称
string AppName = 3 ;
//AK
string AccessKey = 4 ;
//SK
string SecretKey = 5 ;
//系统票据
string AppToken = 6 ;
//系统集成页面调用地址
string AppUrl = 7 ;
//系统图标的路径
string AppIcon = 8 ;
//统一认证回调地址
string RedirectUri = 9 ;
//统一认证登出地址
string LogoutUri = 10 ;
//是否可用 -2: 不可用 1: 可用
int32 BUse = 11 ;
//创建时间
string CreateTime = 12 ;
//排序号
int32 SortId = 13 ;
//需要强制更新的列
repeated string ForceUpdateFields = 14 ;
}
// 查询参数
message QueryArg {
int32 Page = 1 ;
int32 Limit = 2 ;
}
// 查询请求响应
message Reply {
bool Success = 1 ;
string Message = 2 ;
int32 Count = 3 ;
string List = 4 ;
}
//删除参数
message DeleteIdsArg {
//一个或多个ID
repeated string Ids = 1 ;
}