单机模式引入gorm数据库框架初步
This commit is contained in:
1 parent
3966606689
commit
348a7f460e
20 files changed
+558
-107
No files matched your search
@@ -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
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user