From 2fcc2c3e6b86818f0573e2e8e754d2d41d349696 Mon Sep 17 00:00:00 2001 From: yixian Date: Thu, 30 Apr 2020 17:20:41 +1000 Subject: [PATCH] document update --- src/document/openapi/cn/components_order.yml | 4 +++- src/document/openapi/en/components_order.yml | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/document/openapi/cn/components_order.yml b/src/document/openapi/cn/components_order.yml index f81e1132f..a3c2e38cf 100644 --- a/src/document/openapi/cn/components_order.yml +++ b/src/document/openapi/cn/components_order.yml @@ -29,7 +29,9 @@ orderBasic: pattern: ^\d(m|h)$ description: | 超时时间,默认5m,如果商户端有全局配置则取商户配置 - 格式:数字+m/h,m=分钟,h=小时,最小1m,最大24h + 可以提供以下格式的精确时间:yyyy-MM-dd HH:mm:ss,基于GMT+10时区。 + 或以以下格式提供:数字+m/h,m=分钟,h=小时 + 超时时间最小1m,最大24h orderWithChannel: allOf: - $ref: '#/orderBasic' diff --git a/src/document/openapi/en/components_order.yml b/src/document/openapi/en/components_order.yml index 4b461527e..f0a8b6c3b 100644 --- a/src/document/openapi/en/components_order.yml +++ b/src/document/openapi/en/components_order.yml @@ -28,7 +28,8 @@ orderBasic: pattern: ^\d+(m|h)$ default: 5m description: | - format: digits with 'm' or 'h' tail. m=minutes, h=hours. + can provide an accurate time with format yyyy-MM-dd HH:mm:ss in GMT+10 timezone. + or in format: digits with 'm' or 'h' tail. m=minutes, h=hours. default is 5m. if merchants has a global configuration in our backend, it will take the configuration. no shorter than 1m and no longer than 24h orderWithChannel: