本文档由 Apifox 自动生成,推荐使用 Apifox - API 文档、API 调试、API Mock、API 自动化测试!
这里是第二条通知
curl --location -g --request POST 'https://m1.apifoxmock.com/m1/1748827-0-default/faker/isoTimestamp/bug?q_on_gp=q_on_gp_value&query_same_1=query_same_1_gp&q_on_gp_request_off=q_on_gp_request_off_value&glo_qparam_use_glo={{id_glo}}&glo_qparam_use_env={{id_env}}&glo_qparam_use_prior={{priority_env}}' \
--header 'h_on_gp: h_on_gp_value' \
--header 'header_same_1: header_same_1_gp' \
--header 'plat-form: {{header}}' \
--header 'h_on_gp_request_off: h_on_gp_case_off_value' \
--header 'glo_hparam_use_glo: {{id_glo}}' \
--header 'glo_hparam_use_env: {{id_env}}' \
--header 'glo_hparam_use_prior: {{priority_env}}' \
--header 'header_long: l=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmnl=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmn=end' \
--header 'h_env: {{apifox_all}}' \
--header 'Accept-Language: 111' \
--header 'xixi11: 222' \
--header 'Cookie: c_on_gp=c_on_gp_value;c_on_gp_request_off=c_on_gp_request_off_value;c_on_gp=c_on_gp_value;cookie_same_1=cookie_same_1_gp;cookie_long=l=eBO-G2Fng9CH5uxF2Ofahurza77OSIOYYuPzaNbMiOCP_Xfp5gxlW6pndVL9C31Vh6DWR3-82bJHBeYBcIfEiOp2AJ-YF8Mmn;c1=cookieInGlobalCookie;c_on_gp_request_off=c_on_gp_request_off_value;glo_cparam_use_glo={{id_glo}};glo_cparam_use_env={{id_env}};glo_cparam_use_prior={{priority_env}};c1=cookieInGlobalHeader' \
--header 'Content-Type: application/json' \
--data-raw '{
"isoTimestamp_不指定时区&无格式化": "2024-09-30T03:12:24.665Z",
"isoTimestamp_指定北京": "2024-09-30T11:12:24.665+08:00",
"isoTimestamp_指定零时区": "2024-09-30T03:12:24.666Z",
"isoTimestamp_多个偏移": "2026-02-08T04:12:24.666Z",
"isoTimestamp_偏移后格式化": "2026-02-08T04:12:24.666Z",
"isoTimestamp_偏移工作日+格式化": "2024-09-30",
"isoTimestamp_formatting=Basic": "20240930T031224.668Z",
"isoTimestamp_formatting=Extend": "2024-09-30T03:12:24.669Z",
"isoTimestamp_ excludeMilliseconds=false": "2024-09-30T03:12:24.669Z",
"isoTimestamp_ excludeMilliseconds=true": "2024-09-30T03:12:24Z",
"isoTimestamp_representation=complete": "2024-09-30T03:12:24.669Z",
"isoTimestamp_representation=date": "2024-09-30",
"isoTimestamp_representation=time": "03:12:24.669Z",
"isoTimestamp_参数组合_指定北京&格式拓展&排除毫秒&显示时间": "11:12:24.669+08:00",
"isoTimestamp_参数组合_指定北京&格式基础&排除毫秒&显示日期": "20240930",
"isoTimestamp_参数组合_指定北京&排除毫秒&偏移+1-1&后置小写函数": "2024-09-30t11:12:24+08:00"
}'{
"isoTimestamp_不指定时区&无格式化": "{{$date.isoTimestamp}}",
"isoTimestamp_指定北京": "{{$date.isoTimestamp(timezone='Asia/Chongqing')}}",
"isoTimestamp_指定零时区": "{{$date.isoTimestamp(timezone='Africa/Monrovia')}}",
"isoTimestamp_多个偏移": "{{$date.isoTimestamp|addDays(1)|addHours(1)|addMonths(1)|addQuarters(1)|addYears(1)|addWeeks(1)}}",
"isoTimestamp_偏移后格式化": "{{$date.isoTimestamp|addDays(1)|addHours(1)|addMonths(1)|addQuarters(1)|addYears(1)|addWeeks(1)}}",
"isoTimestamp_偏移工作日+格式化": "{{$date.between(from='2024-09-26T16:15:13.464Z',to='2024-09-28T15:59:46.631Z')|addBusinessDays(1)|format('yyyy-MM-dd')}}",
"isoTimestamp_formatting=Basic": "{{$date.isoTimestamp(formattingStyle='basic')}}",
"isoTimestamp_formatting=Extend": "{{$date.isoTimestamp(formattingStyle='extended')}}",
"isoTimestamp_ excludeMilliseconds=false": "{{$date.isoTimestamp(excludeMilliseconds=false)}}",
"isoTimestamp_ excludeMilliseconds=true": "{{$date.isoTimestamp(excludeMilliseconds=true)}}",
"isoTimestamp_representation=complete": "{{$date.isoTimestamp(representation='complete')}}",
"isoTimestamp_representation=date": "{{$date.isoTimestamp(representation='date')}}",
"isoTimestamp_representation=time": "{{$date.isoTimestamp(representation='time')}}",
"isoTimestamp_参数组合_指定北京&格式拓展&排除毫秒&显示时间": "{{$date.isoTimestamp(timezone='Asia/Chongqing',excludeMilliseconds=false,formattingStyle='extended',representation='time')}}",
"isoTimestamp_参数组合_指定北京&格式基础&排除毫秒&显示日期": "{{$date.isoTimestamp(timezone='Asia/Chongqing',excludeMilliseconds=false,formattingStyle='basic',representation='date')}}",
"isoTimestamp_参数组合_指定北京&排除毫秒&偏移+1-1&后置小写函数": "{{$date.isoTimestamp(timezone='Asia/Chongqing',excludeMilliseconds=true,representation='complete')|addDays(1)|subDays(1)|lower}}"
}