授权编号: {license}
+授权用户: {Astro.props.user}
+授权日期: {Astro.props.beginTime}
+有效期至: {Astro.props.endTime}
+授权产品: {Astro.props.type}
+diff --git a/.github/workflows/tck.yml b/.github/workflows/tck.yml index 5a23647..8eb4375 100644 --- a/.github/workflows/tck.yml +++ b/.github/workflows/tck.yml @@ -27,7 +27,7 @@ jobs: name: 下载servlet TCK with: repository: jakartaee/servlet - ref: c4a04f1f1a9ea747efb22f5234abdf598356d2e9 + ref: 99ba4387c6bd0283fd00e6975a2f31f90ffa0963 path: jakartaee/servlet - uses: actions/checkout@v4 name: 下载 smart-http diff --git a/pages/src/content/docs/guides/about.mdx b/pages/src/content/docs/guides/about.mdx index e26034a..290679d 100644 --- a/pages/src/content/docs/guides/about.mdx +++ b/pages/src/content/docs/guides/about.mdx @@ -16,7 +16,7 @@ smart-servlet 是一个基于 Jakarta Servlet 6.1 的轻量级 Servlet 容器, **目标用户:** -- 有着信创需求的企业用户。 +- 有着 **信创需求** 的企业用户。 - 对服务并发能力要求高的企业用户。 - 对技术有着强烈热爱的个人开发者。 diff --git a/pages/src/content/docs/index.mdx b/pages/src/content/docs/index.mdx index 9282ac1..c8caf9d 100644 --- a/pages/src/content/docs/index.mdx +++ b/pages/src/content/docs/index.mdx @@ -1,6 +1,6 @@ --- title: smart-servlet -description: 真自研、真轻量、真极速的 Servlet 容器. +description: 信创,tomcat,国产Tomcat,国产Servlet容器,国产Servlet,smart-servlet,smartservlet,undertow,jetty,自研,自研Tomcat template: splash hero: tagline: 自研、轻量、极速,重新定义 Servlet 容器! diff --git a/pages/src/pages/license/[...license].astro b/pages/src/pages/license/[...license].astro new file mode 100644 index 0000000..f98a235 --- /dev/null +++ b/pages/src/pages/license/[...license].astro @@ -0,0 +1,119 @@ +--- +export function getStaticPaths() { + return [ + { + params: { + license: '2932A607C1C5B5260512F59D80D4105F', + }, + props: { + user: 'smartboot社区开发者', + beginTime: '2023-01-01', + endTime: '2024-01-01', + type:'开源版', + } + }, + {params: {license: undefined}, props: {user: '无效', beginTime: '2023-01-01', endTime: '2024-01-01'}}, + ]; +} +const {license} = Astro.params; +--- + +
+ + + +授权编号: {license}
+授权用户: {Astro.props.user}
+授权日期: {Astro.props.beginTime}
+有效期至: {Astro.props.endTime}
+授权产品: {Astro.props.type}
+