<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">

  <!--
    sitemap-goods.xml - 动态商品页站点地图
    通过 supabase-scheduled-task 每日定时从 goods 表生成最新 5000 条商品 URL
    部署：Edge Function /sitemap-goods-xml 返回动态内容
    生成逻辑：SELECT id, goods_title, goods_cover, created_at, updated_at
             FROM goods
             WHERE goods_status = 1 AND audit_status = 1 AND is_deleted = 0
             ORDER BY created_at DESC LIMIT 5000
  -->

  <!--
    示例占位 URL - 实际由 Edge Function 动态生成
    部署 sitemap-goods Edge Function 后访问 /sitemap-goods.xml 获取动态内容
  -->
  <url>
    <loc>https://www.aixiandui.com/goods/1</loc>
    <lastmod>2026-05-18</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.6</priority>
  </url>
  <url>
    <loc>https://www.aixiandui.com/goods/2</loc>
    <lastmod>2026-05-18</lastmod>
    <changefreq>weekly</changefreq>
    <priority>0.6</priority>
  </url>

</urlset>
