MCPcopy Create free account
hub / github.com/apache/answer / ActionRecordDel

Method ActionRecordDel

internal/service/action/captcha_service.go:125–130  ·  view source on GitHub ↗
(ctx context.Context, actionType string, unit string)

Source from the content-addressed store, hash-verified

123}
124
125func (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
133func (cs *CaptchaService) GenerateCaptcha(ctx context.Context) (key, captchaBase64 string, err error) {

Callers 6

UserEmailLoginMethod · 0.80
UseRePassWordMethod · 0.80
UserVerifyEmailMethod · 0.80
UserModifyPassWordMethod · 0.80
UserChangeEmailVerifyMethod · 0.80

Calls 1

DelActionTypeMethod · 0.65

Tested by

no test coverage detected