diff --git a/model/gmodel/fs_user_logic.go b/model/gmodel/fs_user_logic.go index 63f4d04e..89b3cc5e 100644 --- a/model/gmodel/fs_user_logic.go +++ b/model/gmodel/fs_user_logic.go @@ -92,7 +92,7 @@ func InheritGuestIdResource(tx *gorm.DB, userId, guestId int64, afterDo func(txR } return afterDo(txRes, txUserMaterial, txUserInfo) } - return fmt.Errorf("guest_id must not be 0") + return nil } // 谷歌平台的注册流程