From 9720ab4fdc8bebc0a8a75154f90a304444ee6b3a Mon Sep 17 00:00:00 2001 From: yixian Date: Thu, 30 Apr 2020 17:28:36 +1000 Subject: [PATCH] document update --- src/document/openapi/cn/components_order.yml | 2 +- src/document/openapi/en/components_order.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.