实现对ACME用户的增删改

This commit is contained in:
刘祥超
2020-11-24 17:36:47 +08:00
parent a7bdbf411e
commit 6e6083d6af
27 changed files with 202 additions and 87 deletions

View File

@@ -30,11 +30,11 @@ func (this *BaseService) ValidateAdminAndUser(ctx context.Context) (adminId int6
// 返回成功
func (this *BaseService) Success() (*pb.RPCSuccess, error) {
return rpcutils.Success()
return &pb.RPCSuccess{}, nil
}
// 返回数字
func (this *BaseService) ResponseCount(count int64) (*pb.RPCCountResponse, error) {
func (this *BaseService) SuccessCount(count int64) (*pb.RPCCountResponse, error) {
return &pb.RPCCountResponse{Count: count}, nil
}