feat: 数据库支持选中数据生成insert语句

This commit is contained in:
meilin.huang
2022-07-27 15:36:56 +08:00
parent 1e3e183930
commit daa2ef5203
9 changed files with 86 additions and 10 deletions

View File

@@ -8,6 +8,5 @@ type Jwt struct {
}
func (j *Jwt) Valid() {
assert.IsTrue(j.Key != "", "config.yml之 [jwt.key] 不能为空")
assert.IsTrue(j.ExpireTime != 0, "config.yml之 [jwt.expire-time] 不能为空")
}