(ctx context.Context, actionType string, unit string)
| 123 | } |
| 124 | |
| 125 | func (cs *CaptchaService) ActionRecordDel(ctx context.Context, actionType string, unit string) { |
| 126 | err := cs.captchaRepo.DelActionType(ctx, unit, actionType) |
| 127 | if err != nil { |
| 128 | log.Error(err) |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | // GenerateCaptcha generate captcha |
| 133 | func (cs *CaptchaService) GenerateCaptcha(ctx context.Context) (key, captchaBase64 string, err error) { |
no test coverage detected