问题出在这个代码(pkg/captcha/store_redis.go) if ok := s.RedisClient.Set(s.KeyPrefix+key, value, ExpireTime); !ok { return errors.New("无法存储图片验证码...
旧版这个会用,网上搜的也都是旧版使用方法。新版这个实在看不懂,只给了个初始化客户端就没了,怎么传手机号验证码也没找到。实在不行就只能继续用旧版了。
package forms type PasswordLoginForm struct { Mobile string `form:"mobile" json:"mobile" binding:"required"` Password string `form:"password" json:"...
使用proto生成的对象,想初始化对象并返回,发现提示 Return copies the lock value: type 'userpb.UserInfoResponse' contains 'protoimpl.MessageState' contains 'syn...
社交账号:
我要举报该,理由是: