修复富文本bug,调整日志输出,修复已知bug (#1563)

* operation.go: fix 调用respPool.Put归还对象前清空对象会造成下次调用无法正常copy
redis.go: fix NewDefaultRedisStore方法实例化的对象直接使用会造成空指针异常

* 设置为发布模式时gin不再输出路由信息log

* 调整基础配置文件

* 修复富文本不回显的bug

---------

Co-authored-by: liuyahui <liuyahui@wjacloud.com>
Co-authored-by: Alan <alan.cd@qq.com>
Co-authored-by: wuqianang <wuqianang@163.com>
Co-authored-by: task <ms.yangdan@gmail.com>
This commit is contained in:
奇淼(piexlmax
2023-10-10 16:41:55 +08:00
committed by GitHub
parent 10dc003f20
commit 18694fd24a
6 changed files with 18 additions and 8 deletions

View File

@@ -13,6 +13,7 @@ func NewDefaultRedisStore() *RedisStore {
return &RedisStore{
Expiration: time.Second * 180,
PreKey: "CAPTCHA_",
Context: context.TODO(),
}
}