(ctx context.Context, smsID, number, vCode string)
| 22 | // SmsRepository 接口定义了异步 SMS 记录操作的相关方法 |
| 23 | type SmsRepository interface { |
| 24 | CheckCode(ctx context.Context, smsID, number, vCode string) (bool, error) |
| 25 | AddUserOperationLog(ctx context.Context, log dao.VCodeSmsLog) error |
| 26 | SetNX(ctx context.Context, number string, value interface{}, expiration time.Duration) (*redis.BoolCmd, error) |
| 27 | StoreVCode(ctx context.Context, smsID, number string, vCode string) error |
no outgoing calls
no test coverage detected