单机模式引入gorm数据库框架初步

This commit is contained in:
flswld committed 2024-09-11 21:42:34 +08:00
1 parent 3966606689
commit 348a7f460e
20 files changed
+558 -107

No files matched your search

+1 -1
View File
@@ -11,7 +11,7 @@ type Service struct {
// UserPasswordChange 用户密码改变
func (s *Service) UserPasswordChange(accountId uint32) bool {
// http登录态失效
_, err := s.dao.UpdateSdkAccountFieldByFieldName("account_id", accountId, "token_create_time", 0)
err := s.dao.UpdateSdkAccountFieldByFieldName("account_id", accountId, "token_create_time", 0)
if err != nil {
return false
}