mirror of
https://github.com/TeaOSLab/EdgeAPI.git
synced 2025-11-09 20:10:25 +08:00
实现对ACME用户的增删改
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user