refactor: 日志堆栈描述调整

This commit is contained in:
meilin.huang
2023-09-03 13:04:29 +08:00
parent 899a3a8243
commit 649116a0b8
5 changed files with 14 additions and 27 deletions

View File

@@ -30,7 +30,7 @@ func Generate() (string, string) {
// 验证验证码
func Verify(id string, val string) bool {
if id == "" || val == "" {
if store == nil || id == "" || val == "" {
return false
}
// 同时清理掉这个图片