diff --git a/src/document/openapi/cn/components_order.yml b/src/document/openapi/cn/components_order.yml index a3c2e38cf..8ed2798a6 100644 --- a/src/document/openapi/cn/components_order.yml +++ b/src/document/openapi/cn/components_order.yml @@ -26,7 +26,7 @@ orderBasic: expire: type: string default: 5m - pattern: ^\d(m|h)$ + pattern: ^\d([mh])$ description: | 超时时间,默认5m,如果商户端有全局配置则取商户配置 可以提供以下格式的精确时间:yyyy-MM-dd HH:mm:ss,基于GMT+10时区。 diff --git a/src/document/openapi/en/components_order.yml b/src/document/openapi/en/components_order.yml index f0a8b6c3b..27546cb07 100644 --- a/src/document/openapi/en/components_order.yml +++ b/src/document/openapi/en/components_order.yml @@ -25,7 +25,7 @@ orderBasic: description: mark of operator expire: type: string - pattern: ^\d+(m|h)$ + pattern: ^\d+([mh])$ default: 5m description: | can provide an accurate time with format yyyy-MM-dd HH:mm:ss in GMT+10 timezone.