[用户]实现对平台用户的增删改查

This commit is contained in:
GoEdgeLab
2020-12-04 16:00:55 +08:00
parent 9e3dc3d2d2
commit 000b5c79e3
19 changed files with 681 additions and 3 deletions

View File

@@ -224,6 +224,10 @@ func (this *RPCClient) ACMETaskRPC() pb.ACMETaskServiceClient {
return pb.NewACMETaskServiceClient(this.pickConn())
}
func (this *RPCClient) UserRPC() pb.UserServiceClient {
return pb.NewUserServiceClient(this.pickConn())
}
// 构造Admin上下文
func (this *RPCClient) Context(adminId int64) context.Context {
ctx := context.Background()