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

This commit is contained in:
xinian
2026-02-23 21:42:36 +08:00
committed by cnb
parent 215ce98c22
commit 50a19b2ff9
3 changed files with 6 additions and 8 deletions

View File

@@ -106,9 +106,9 @@ func (s *PetService) Pet_LEVEL_all() []model.Pet {
}
// 精灵真正添加后的捕捉时间才是真正的时间
func (s *PetService) PetAdd(y *model.PetInfo) {
func (s *PetService) PetAdd(y *model.PetInfo) uint32 {
if y == nil {
return
return 0
}
sql := fmt.Sprintf(`
UPDATE %s
@@ -136,7 +136,7 @@ RETURNING max_ts;
if err != nil {
panic(err)
}
return y.CatchTime
}
// func (s *PetService) ModifyBefore(ctx context.Context, method string, param map[string]interface{}) (err error) {