`
All checks were successful
ci/woodpecker/push/my-first-workflow Pipeline was successful

This commit is contained in:
昔念
2026-02-07 20:09:02 +08:00
parent cdfbc45887
commit 1a0a2badd4
3 changed files with 14 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ func (s *InfoService) Reg(nick string, color uint32) *model.PlayerInfo {
return &t.Data
}
func (s *InfoService) Person(userid uint32) (out *model.PlayerEX) {
func (s *InfoService) Person(userid uint32) (out *model.Player) {
cool.DBM(s.Model).Where("player_id", userid).Scan(&out)
@@ -73,7 +73,7 @@ func (s *InfoService) GetCache() *model.PlayerInfo {
func (s *InfoService) SetLogin() *model.PlayerInfo {
m := cool.DBM(s.Model).Where("player_id", s.userid)
var tt *model.PlayerEX
var tt *model.Player
m.Scan(&tt)
if tt == nil {
return nil
@@ -190,7 +190,7 @@ func (s *InfoService) Save(data model.PlayerInfo) {
return
}
m := s.PModel(s.Model)
var tt *model.PlayerEX
var tt *model.Player
m.Scan(&tt)
if tt == nil {
return