From 95694eb0d18c6c194f59c7c63513d5e58045a146 Mon Sep 17 00:00:00 2001 From: DaxPay Dev Date: Tue, 14 Jul 2026 11:57:46 +0800 Subject: [PATCH] =?UTF-8?q?feat(i18n):=20=E6=96=B0=E5=A2=9E=20zh-TW/zh-HK?= =?UTF-8?q?=20=E7=B9=81=E4=BD=93=E8=AF=AD=E8=A8=80=E5=8C=85=E4=B8=8E=20loc?= =?UTF-8?q?ale=20=E5=88=AB=E5=90=8D=E6=98=A0=E5=B0=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 支持 Accept-Language 变体(zh-Hant/zh-MO 等)映射到主资源目录,台港互不回退,缺 key 统一回退 zh-CN;补齐后端 enum/error 繁体与简英词条。 --- .../resources/i18n/zh-HK/error/alipay.json | 4 + .../resources/i18n/zh-TW/error/alipay.json | 4 + .../resources/i18n/zh-HK/error/douyin.json | 3 + .../resources/i18n/zh-TW/error/douyin.json | 3 + .../resources/i18n/zh-HK/error/social.json | 22 + .../resources/i18n/zh-TW/error/social.json | 22 + .../common/i18n/source/JsonMessageSource.java | 97 ++- .../resources/i18n/en-US/enum/currency.json | 8 + .../i18n/en-US/enum/pay_trade_type.json | 8 + .../main/resources/i18n/en-US/error/auth.json | 3 +- .../resources/i18n/en-US/error/common.json | 7 +- .../resources/i18n/en-US/error/iam/role.json | 1 + .../resources/i18n/zh-CN/enum/currency.json | 8 + .../i18n/zh-CN/enum/pay_trade_type.json | 8 + .../main/resources/i18n/zh-CN/error/auth.json | 3 +- .../resources/i18n/zh-CN/error/common.json | 7 +- .../resources/i18n/zh-CN/error/iam/role.json | 1 + .../resources/i18n/zh-HK/channel/error.json | 35 + .../src/main/resources/i18n/zh-HK/common.json | 12 + .../zh-HK/enum/aggregate_config_level.json | 5 + .../resources/i18n/zh-HK/enum/apply_type.json | 5 + .../i18n/zh-HK/enum/callback_notice_type.json | 3 + .../zh-HK/enum/cashier_item_resolve_mode.json | 4 + .../i18n/zh-HK/enum/cashier_scene.json | 7 + .../resources/i18n/zh-HK/enum/channel.json | 20 + .../zh-HK/enum/channel_api_call_mode.json | 5 + .../i18n/zh-HK/enum/channel_auth_type.json | 6 + .../enum/channel_merchant_data_type.json | 3 + .../zh-HK/enum/channel_merchant_source.json | 3 + .../i18n/zh-HK/enum/channel_pay_id_type.json | 4 + .../zh-HK/enum/channel_terminal_status.json | 7 + .../resources/i18n/zh-HK/enum/client.json | 5 + .../resources/i18n/zh-HK/enum/currency.json | 8 + .../zh-HK/enum/douyin_direct_app_type.json | 5 + .../enum/encrypt_platform_config_type.json | 6 + .../i18n/zh-HK/enum/file_upload_status.json | 4 + .../i18n/zh-HK/enum/gateway_call_type.json | 8 + .../i18n/zh-HK/enum/gateway_cashier_type.json | 4 + .../i18n/zh-HK/enum/gateway_order_status.json | 7 + .../i18n/zh-HK/enum/gateway_pay_type.json | 4 + .../i18n/zh-HK/enum/mch_app_status.json | 4 + .../resources/i18n/zh-HK/enum/menu_type.json | 8 + .../i18n/zh-HK/enum/merchant_status.json | 4 + .../i18n/zh-HK/enum/mobile_app_type.json | 5 + .../i18n/zh-HK/enum/mobile_platform.json | 8 + .../i18n/zh-HK/enum/normal_order_status.json | 6 + .../i18n/zh-HK/enum/notice_send_type.json | 4 + .../i18n/zh-HK/enum/notify_content_type.json | 4 + .../i18n/zh-HK/enum/notify_severity.json | 4 + .../i18n/zh-HK/enum/notify_status.json | 5 + .../i18n/zh-HK/enum/notify_type.json | 4 + .../i18n/zh-HK/enum/operate_log_type.json | 12 + .../i18n/zh-HK/enum/pay_body_type.json | 8 + .../i18n/zh-HK/enum/pay_capability.json | 30 + .../resources/i18n/zh-HK/enum/pay_env.json | 5 + .../i18n/zh-HK/enum/pay_fund_status.json | 8 + .../i18n/zh-HK/enum/pay_limit_pay.json | 3 + .../resources/i18n/zh-HK/enum/pay_method.json | 31 + .../i18n/zh-HK/enum/pay_provider.json | 9 + .../i18n/zh-HK/enum/pay_refund_status.json | 6 + .../i18n/zh-HK/enum/pay_route_mode.json | 4 + .../resources/i18n/zh-HK/enum/pay_status.json | 9 + .../i18n/zh-HK/enum/pay_trade_type.json | 8 + .../i18n/zh-HK/enum/platform_config_type.json | 9 + .../resources/i18n/zh-HK/enum/product.json | 27 + .../i18n/zh-HK/enum/qrcode_amount_type.json | 4 + .../i18n/zh-HK/enum/qrcode_status.json | 4 + .../i18n/zh-HK/enum/refund_order_status.json | 7 + .../i18n/zh-HK/enum/register_source.json | 6 + .../resources/i18n/zh-HK/enum/role_code.json | 3 + .../i18n/zh-HK/enum/social_source.json | 12 + .../i18n/zh-HK/enum/store_status.json | 4 + .../i18n/zh-HK/enum/subject_type.json | 5 + .../i18n/zh-HK/enum/trade_flow_type.json | 5 + .../i18n/zh-HK/enum/trade_source.json | 7 + .../i18n/zh-HK/enum/trade_status.json | 8 + .../resources/i18n/zh-HK/enum/trade_type.json | 6 + .../i18n/zh-HK/enum/upload_access_type.json | 4 + .../zh-HK/enum/user_protocol_client_type.json | 5 + .../enum/user_protocol_content_format.json | 3 + .../i18n/zh-HK/enum/user_protocol_status.json | 5 + .../i18n/zh-HK/enum/user_protocol_type.json | 6 + .../i18n/zh-HK/enum/user_status.json | 5 + .../i18n/zh-HK/enum/wallet_flow_type.json | 4 + .../i18n/zh-HK/enum/wechat_auth_app_type.json | 4 + .../i18n/zh-HK/enum/wechat_auth_type.json | 4 + .../zh-HK/enum/wechat_direct_app_type.json | 5 + .../i18n/zh-HK/enum/wechat_isv_app_type.json | 5 + .../i18n/zh-HK/enum/wx_verify_owner_type.json | 4 + .../resources/i18n/zh-HK/error/artemis.json | 7 + .../main/resources/i18n/zh-HK/error/auth.json | 33 + .../resources/i18n/zh-HK/error/channel.json | 3 + .../i18n/zh-HK/error/channel/alipay.json | 47 ++ .../i18n/zh-HK/error/channel/douyin.json | 10 + .../i18n/zh-HK/error/channel/lakala.json | 7 + .../i18n/zh-HK/error/channel/leshua.json | 4 + .../i18n/zh-HK/error/channel/ums.json | 5 + .../i18n/zh-HK/error/channel/vbill.json | 5 + .../i18n/zh-HK/error/channel/wechat.json | 59 ++ .../resources/i18n/zh-HK/error/common.json | 45 ++ .../main/resources/i18n/zh-HK/error/demo.json | 3 + .../i18n/zh-HK/error/device/qrcode.json | 11 + .../main/resources/i18n/zh-HK/error/file.json | 10 + .../i18n/zh-HK/error/iam/assign.json | 7 + .../resources/i18n/zh-HK/error/iam/menu.json | 18 + .../i18n/zh-HK/error/iam/password.json | 12 + .../resources/i18n/zh-HK/error/iam/perm.json | 6 + .../resources/i18n/zh-HK/error/iam/role.json | 10 + .../i18n/zh-HK/error/iam/session.json | 6 + .../i18n/zh-HK/error/iam/twoFactor.json | 6 + .../resources/i18n/zh-HK/error/iam/user.json | 16 + .../i18n/zh-HK/error/mobile_app.json | 10 + .../i18n/zh-HK/error/notify/notice.json | 3 + .../i18n/zh-HK/error/payment/capability.json | 5 + .../i18n/zh-HK/error/payment/channel.json | 10 + .../i18n/zh-HK/error/payment/login.json | 5 + .../i18n/zh-HK/error/payment/merchant.json | 33 + .../i18n/zh-HK/error/payment/method.json | 5 + .../i18n/zh-HK/error/payment/order.json | 12 + .../i18n/zh-HK/error/payment/product.json | 5 + .../i18n/zh-HK/error/system/dict.json | 7 + .../i18n/zh-HK/error/system/oss.json | 8 + .../i18n/zh-HK/error/system/protocol.json | 12 + .../i18n/zh-HK/error/system/url.json | 7 + .../src/main/resources/i18n/zh-HK/log.json | 13 + .../resources/i18n/zh-HK/notification.json | 6 + .../main/resources/i18n/zh-HK/pay/env.json | 3 + .../main/resources/i18n/zh-HK/pay/error.json | 111 +++ .../resources/i18n/zh-HK/pay/route/error.json | 25 + .../main/resources/i18n/zh-HK/validation.json | 744 ++++++++++++++++++ .../resources/i18n/zh-TW/channel/error.json | 35 + .../src/main/resources/i18n/zh-TW/common.json | 12 + .../zh-TW/enum/aggregate_config_level.json | 5 + .../resources/i18n/zh-TW/enum/apply_type.json | 5 + .../i18n/zh-TW/enum/callback_notice_type.json | 3 + .../zh-TW/enum/cashier_item_resolve_mode.json | 4 + .../i18n/zh-TW/enum/cashier_scene.json | 7 + .../resources/i18n/zh-TW/enum/channel.json | 20 + .../zh-TW/enum/channel_api_call_mode.json | 5 + .../i18n/zh-TW/enum/channel_auth_type.json | 6 + .../enum/channel_merchant_data_type.json | 3 + .../zh-TW/enum/channel_merchant_source.json | 3 + .../i18n/zh-TW/enum/channel_pay_id_type.json | 4 + .../zh-TW/enum/channel_terminal_status.json | 7 + .../resources/i18n/zh-TW/enum/client.json | 5 + .../resources/i18n/zh-TW/enum/currency.json | 8 + .../zh-TW/enum/douyin_direct_app_type.json | 5 + .../enum/encrypt_platform_config_type.json | 6 + .../i18n/zh-TW/enum/file_upload_status.json | 4 + .../i18n/zh-TW/enum/gateway_call_type.json | 8 + .../i18n/zh-TW/enum/gateway_cashier_type.json | 4 + .../i18n/zh-TW/enum/gateway_order_status.json | 7 + .../i18n/zh-TW/enum/gateway_pay_type.json | 4 + .../i18n/zh-TW/enum/mch_app_status.json | 4 + .../resources/i18n/zh-TW/enum/menu_type.json | 8 + .../i18n/zh-TW/enum/merchant_status.json | 4 + .../i18n/zh-TW/enum/mobile_app_type.json | 5 + .../i18n/zh-TW/enum/mobile_platform.json | 8 + .../i18n/zh-TW/enum/normal_order_status.json | 6 + .../i18n/zh-TW/enum/notice_send_type.json | 4 + .../i18n/zh-TW/enum/notify_content_type.json | 4 + .../i18n/zh-TW/enum/notify_severity.json | 4 + .../i18n/zh-TW/enum/notify_status.json | 5 + .../i18n/zh-TW/enum/notify_type.json | 4 + .../i18n/zh-TW/enum/operate_log_type.json | 12 + .../i18n/zh-TW/enum/pay_body_type.json | 8 + .../i18n/zh-TW/enum/pay_capability.json | 30 + .../resources/i18n/zh-TW/enum/pay_env.json | 5 + .../i18n/zh-TW/enum/pay_fund_status.json | 8 + .../i18n/zh-TW/enum/pay_limit_pay.json | 3 + .../resources/i18n/zh-TW/enum/pay_method.json | 31 + .../i18n/zh-TW/enum/pay_provider.json | 9 + .../i18n/zh-TW/enum/pay_refund_status.json | 6 + .../i18n/zh-TW/enum/pay_route_mode.json | 4 + .../resources/i18n/zh-TW/enum/pay_status.json | 9 + .../i18n/zh-TW/enum/pay_trade_type.json | 8 + .../i18n/zh-TW/enum/platform_config_type.json | 9 + .../resources/i18n/zh-TW/enum/product.json | 27 + .../i18n/zh-TW/enum/qrcode_amount_type.json | 4 + .../i18n/zh-TW/enum/qrcode_status.json | 4 + .../i18n/zh-TW/enum/refund_order_status.json | 7 + .../i18n/zh-TW/enum/register_source.json | 6 + .../resources/i18n/zh-TW/enum/role_code.json | 3 + .../i18n/zh-TW/enum/social_source.json | 12 + .../i18n/zh-TW/enum/store_status.json | 4 + .../i18n/zh-TW/enum/subject_type.json | 5 + .../i18n/zh-TW/enum/trade_flow_type.json | 5 + .../i18n/zh-TW/enum/trade_source.json | 7 + .../i18n/zh-TW/enum/trade_status.json | 8 + .../resources/i18n/zh-TW/enum/trade_type.json | 6 + .../i18n/zh-TW/enum/upload_access_type.json | 4 + .../zh-TW/enum/user_protocol_client_type.json | 5 + .../enum/user_protocol_content_format.json | 3 + .../i18n/zh-TW/enum/user_protocol_status.json | 5 + .../i18n/zh-TW/enum/user_protocol_type.json | 6 + .../i18n/zh-TW/enum/user_status.json | 5 + .../i18n/zh-TW/enum/wallet_flow_type.json | 4 + .../i18n/zh-TW/enum/wechat_auth_app_type.json | 4 + .../i18n/zh-TW/enum/wechat_auth_type.json | 4 + .../zh-TW/enum/wechat_direct_app_type.json | 5 + .../i18n/zh-TW/enum/wechat_isv_app_type.json | 5 + .../i18n/zh-TW/enum/wx_verify_owner_type.json | 4 + .../resources/i18n/zh-TW/error/artemis.json | 7 + .../main/resources/i18n/zh-TW/error/auth.json | 33 + .../resources/i18n/zh-TW/error/channel.json | 3 + .../i18n/zh-TW/error/channel/alipay.json | 47 ++ .../i18n/zh-TW/error/channel/douyin.json | 10 + .../i18n/zh-TW/error/channel/lakala.json | 7 + .../i18n/zh-TW/error/channel/leshua.json | 4 + .../i18n/zh-TW/error/channel/ums.json | 5 + .../i18n/zh-TW/error/channel/vbill.json | 5 + .../i18n/zh-TW/error/channel/wechat.json | 59 ++ .../resources/i18n/zh-TW/error/common.json | 45 ++ .../main/resources/i18n/zh-TW/error/demo.json | 3 + .../i18n/zh-TW/error/device/qrcode.json | 11 + .../main/resources/i18n/zh-TW/error/file.json | 10 + .../i18n/zh-TW/error/iam/assign.json | 7 + .../resources/i18n/zh-TW/error/iam/menu.json | 18 + .../i18n/zh-TW/error/iam/password.json | 12 + .../resources/i18n/zh-TW/error/iam/perm.json | 6 + .../resources/i18n/zh-TW/error/iam/role.json | 10 + .../i18n/zh-TW/error/iam/session.json | 6 + .../i18n/zh-TW/error/iam/twoFactor.json | 6 + .../resources/i18n/zh-TW/error/iam/user.json | 16 + .../i18n/zh-TW/error/mobile_app.json | 10 + .../i18n/zh-TW/error/notify/notice.json | 3 + .../i18n/zh-TW/error/payment/capability.json | 5 + .../i18n/zh-TW/error/payment/channel.json | 10 + .../i18n/zh-TW/error/payment/login.json | 5 + .../i18n/zh-TW/error/payment/merchant.json | 33 + .../i18n/zh-TW/error/payment/method.json | 5 + .../i18n/zh-TW/error/payment/order.json | 12 + .../i18n/zh-TW/error/payment/product.json | 5 + .../i18n/zh-TW/error/system/dict.json | 7 + .../i18n/zh-TW/error/system/oss.json | 8 + .../i18n/zh-TW/error/system/protocol.json | 12 + .../i18n/zh-TW/error/system/url.json | 7 + .../src/main/resources/i18n/zh-TW/log.json | 13 + .../resources/i18n/zh-TW/notification.json | 6 + .../main/resources/i18n/zh-TW/pay/env.json | 3 + .../main/resources/i18n/zh-TW/pay/error.json | 111 +++ .../resources/i18n/zh-TW/pay/route/error.json | 25 + .../main/resources/i18n/zh-TW/validation.json | 744 ++++++++++++++++++ .../i18n/source/JsonMessageSourceTest.java | 18 +- .../core/enums/pay/channel/CurrencyEnum.java | 2 +- 245 files changed, 3940 insertions(+), 37 deletions(-) create mode 100644 daxpay-platform/daxpay-platform-capability/capability-alipay/src/main/resources/i18n/zh-HK/error/alipay.json create mode 100644 daxpay-platform/daxpay-platform-capability/capability-alipay/src/main/resources/i18n/zh-TW/error/alipay.json create mode 100644 daxpay-platform/daxpay-platform-capability/capability-douyin/src/main/resources/i18n/zh-HK/error/douyin.json create mode 100644 daxpay-platform/daxpay-platform-capability/capability-douyin/src/main/resources/i18n/zh-TW/error/douyin.json create mode 100644 daxpay-platform/daxpay-platform-capability/capability-social/src/main/resources/i18n/zh-HK/error/social.json create mode 100644 daxpay-platform/daxpay-platform-capability/capability-social/src/main/resources/i18n/zh-TW/error/social.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/enum/currency.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/enum/pay_trade_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/enum/currency.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/enum/pay_trade_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/channel/error.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/common.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/aggregate_config_level.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/apply_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/callback_notice_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/cashier_item_resolve_mode.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/cashier_scene.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_api_call_mode.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_auth_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_merchant_data_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_merchant_source.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_pay_id_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_terminal_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/client.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/currency.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/douyin_direct_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/encrypt_platform_config_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/file_upload_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_call_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_cashier_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_order_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_pay_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mch_app_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/menu_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/merchant_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mobile_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mobile_platform.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/normal_order_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notice_send_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_content_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_severity.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/operate_log_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_body_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_capability.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_env.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_fund_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_limit_pay.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_method.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_provider.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_refund_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_route_mode.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_trade_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/platform_config_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/product.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/qrcode_amount_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/qrcode_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/refund_order_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/register_source.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/role_code.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/social_source.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/store_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/subject_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_flow_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_source.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/upload_access_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_client_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_content_format.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wallet_flow_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_auth_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_auth_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_direct_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_isv_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wx_verify_owner_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/artemis.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/auth.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/alipay.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/douyin.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/lakala.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/leshua.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/ums.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/vbill.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/wechat.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/common.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/demo.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/device/qrcode.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/file.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/assign.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/menu.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/password.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/perm.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/role.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/session.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/twoFactor.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/user.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/mobile_app.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/notify/notice.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/capability.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/channel.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/login.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/merchant.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/method.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/order.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/product.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/dict.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/oss.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/protocol.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/url.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/log.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/notification.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/env.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/error.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/route/error.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/validation.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/channel/error.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/common.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/aggregate_config_level.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/apply_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/callback_notice_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/cashier_item_resolve_mode.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/cashier_scene.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_api_call_mode.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_auth_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_merchant_data_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_merchant_source.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_pay_id_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_terminal_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/client.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/currency.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/douyin_direct_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/encrypt_platform_config_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/file_upload_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_call_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_cashier_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_order_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_pay_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mch_app_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/menu_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/merchant_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mobile_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mobile_platform.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/normal_order_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notice_send_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_content_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_severity.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/operate_log_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_body_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_capability.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_env.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_fund_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_limit_pay.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_method.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_provider.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_refund_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_route_mode.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_trade_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/platform_config_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/product.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/qrcode_amount_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/qrcode_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/refund_order_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/register_source.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/role_code.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/social_source.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/store_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/subject_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_flow_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_source.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/upload_access_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_client_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_content_format.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_status.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wallet_flow_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_auth_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_auth_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_direct_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_isv_app_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wx_verify_owner_type.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/artemis.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/auth.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/alipay.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/douyin.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/lakala.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/leshua.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/ums.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/vbill.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/wechat.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/common.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/demo.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/device/qrcode.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/file.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/assign.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/menu.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/password.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/perm.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/role.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/session.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/twoFactor.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/user.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/mobile_app.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/notify/notice.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/capability.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/channel.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/login.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/merchant.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/method.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/order.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/product.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/dict.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/oss.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/protocol.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/url.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/log.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/notification.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/env.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/error.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/route/error.json create mode 100644 daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/validation.json diff --git a/daxpay-platform/daxpay-platform-capability/capability-alipay/src/main/resources/i18n/zh-HK/error/alipay.json b/daxpay-platform/daxpay-platform-capability/capability-alipay/src/main/resources/i18n/zh-HK/error/alipay.json new file mode 100644 index 000000000..39346f577 --- /dev/null +++ b/daxpay-platform/daxpay-platform-capability/capability-alipay/src/main/resources/i18n/zh-HK/error/alipay.json @@ -0,0 +1,4 @@ +{ + "authFailed": "換取支付寶用户標識失敗: {0}", + "clientInitFailed": "支付寶 OpenAPI 初始化失敗: {0}" +} diff --git a/daxpay-platform/daxpay-platform-capability/capability-alipay/src/main/resources/i18n/zh-TW/error/alipay.json b/daxpay-platform/daxpay-platform-capability/capability-alipay/src/main/resources/i18n/zh-TW/error/alipay.json new file mode 100644 index 000000000..15abec0da --- /dev/null +++ b/daxpay-platform/daxpay-platform-capability/capability-alipay/src/main/resources/i18n/zh-TW/error/alipay.json @@ -0,0 +1,4 @@ +{ + "authFailed": "換取支付寶使用者標識失敗: {0}", + "clientInitFailed": "支付寶 OpenAPI 初始化失敗: {0}" +} diff --git a/daxpay-platform/daxpay-platform-capability/capability-douyin/src/main/resources/i18n/zh-HK/error/douyin.json b/daxpay-platform/daxpay-platform-capability/capability-douyin/src/main/resources/i18n/zh-HK/error/douyin.json new file mode 100644 index 000000000..d452ca82c --- /dev/null +++ b/daxpay-platform/daxpay-platform-capability/capability-douyin/src/main/resources/i18n/zh-HK/error/douyin.json @@ -0,0 +1,3 @@ +{ + "authFailed": "抖音: 獲取用户標識失敗: {0}" +} diff --git a/daxpay-platform/daxpay-platform-capability/capability-douyin/src/main/resources/i18n/zh-TW/error/douyin.json b/daxpay-platform/daxpay-platform-capability/capability-douyin/src/main/resources/i18n/zh-TW/error/douyin.json new file mode 100644 index 000000000..40730282a --- /dev/null +++ b/daxpay-platform/daxpay-platform-capability/capability-douyin/src/main/resources/i18n/zh-TW/error/douyin.json @@ -0,0 +1,3 @@ +{ + "authFailed": "抖音: 獲取使用者標識失敗: {0}" +} diff --git a/daxpay-platform/daxpay-platform-capability/capability-social/src/main/resources/i18n/zh-HK/error/social.json b/daxpay-platform/daxpay-platform-capability/capability-social/src/main/resources/i18n/zh-HK/error/social.json new file mode 100644 index 000000000..788b0aaa5 --- /dev/null +++ b/daxpay-platform/daxpay-platform-capability/capability-social/src/main/resources/i18n/zh-HK/error/social.json @@ -0,0 +1,22 @@ +{ + "configNotExist": "平台配置不存在或未啓用", + "unsupportedSource": "不支持的平台", + "unsupportedClient": "社交登錄僅支持運營端(admin)與商户端(merchant)", + "configDuplicated": "該平台配置已存在", + "notConfigured": "平台尚未配置,無法啓停", + "authCodeBlank": "授權碼不能為空", + "endpointNotConfigured": "端點配置中缺少對應前端訪問地址,無法生成回調 URL", + "adminEndpointNotConfigured": "請先在端點配置中設置「管理端訪問地址」(adminBaseUrl)", + "merchantEndpointNotConfigured": "請先在端點配置中設置「商户端訪問地址」(merchantBaseUrl),商户社交登錄依賴該地址生成回調", + "alipayNotConfigured": "平台級支付寶配置不完整,請先在「三方平台管理」中配置", + "wechatMpNotConfigured": "平台級微信公眾號配置不完整,請先在「三方平台管理」中配置", + "douyinH5NotConfigured": "平台級抖音 H5 應用配置不完整,請先在「三方平台管理」中配置", + "weCom": { + "notCorpMember": "非本企業成員,不支持登錄" + }, + "bind": { + "alreadyBoundByOther": "該第三方賬號已被其他用户綁定", + "alreadyBoundPlatform": "您已綁定該平台,請先解綁後再綁定新賬號", + "clientMismatch": "當前登錄用户不屬於該終端,無法完成綁定" + } +} diff --git a/daxpay-platform/daxpay-platform-capability/capability-social/src/main/resources/i18n/zh-TW/error/social.json b/daxpay-platform/daxpay-platform-capability/capability-social/src/main/resources/i18n/zh-TW/error/social.json new file mode 100644 index 000000000..747bb36d5 --- /dev/null +++ b/daxpay-platform/daxpay-platform-capability/capability-social/src/main/resources/i18n/zh-TW/error/social.json @@ -0,0 +1,22 @@ +{ + "configNotExist": "平臺配置不存在或未啟用", + "unsupportedSource": "不支援的平臺", + "unsupportedClient": "社交登入僅支援運營端(admin)與商戶端(merchant)", + "configDuplicated": "該平臺配置已存在", + "notConfigured": "平臺尚未配置,無法啟停", + "authCodeBlank": "授權碼不能為空", + "endpointNotConfigured": "端點配置中缺少對應前端訪問地址,無法生成回撥 URL", + "adminEndpointNotConfigured": "請先在端點配置中設定「管理端訪問地址」(adminBaseUrl)", + "merchantEndpointNotConfigured": "請先在端點配置中設定「商戶端訪問地址」(merchantBaseUrl),商戶社交登入依賴該地址生成回撥", + "alipayNotConfigured": "平臺級支付寶配置不完整,請先在「三方平臺管理」中配置", + "wechatMpNotConfigured": "平臺級微信公眾號配置不完整,請先在「三方平臺管理」中配置", + "douyinH5NotConfigured": "平臺級抖音 H5 應用配置不完整,請先在「三方平臺管理」中配置", + "weCom": { + "notCorpMember": "非本企業成員,不支援登入" + }, + "bind": { + "alreadyBoundByOther": "該第三方賬號已被其他使用者繫結", + "alreadyBoundPlatform": "您已繫結該平臺,請先解綁後再繫結新賬號", + "clientMismatch": "當前登入使用者不屬於該終端,無法完成繫結" + } +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/java/cn/daxpay/open/platform/common/i18n/source/JsonMessageSource.java b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/java/cn/daxpay/open/platform/common/i18n/source/JsonMessageSource.java index 7dad4de70..03421c022 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/java/cn/daxpay/open/platform/common/i18n/source/JsonMessageSource.java +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/java/cn/daxpay/open/platform/common/i18n/source/JsonMessageSource.java @@ -25,6 +25,13 @@ import java.util.concurrent.ConcurrentHashMap; /// 扫描规则: 扫描 classpath*:i18n/{locale}/**\/*.json, 文件路径映射为 key 前缀 /// 例如: i18n/zh-CN/channel/enum.json → key 前缀 "channel.enum" /// JSON 内容: { "alipay": "支付宝" } → 完整 key: "channel.enum.alipay" +/// +/// ## 地区别名 +/// 无独立资源目录的 Accept-Language 变体会先映射到主资源 locale: +/// - `zh-Hant` / `zh-Hant-TW` → `zh-TW` +/// - `zh-HK` / `zh-Hant-HK` / `zh-MO` / `zh-Hant-MO` → `zh-HK` +/// - `zh-Hans` / `zh-Hans-CN` → `zh-CN` +/// 缺 key 时: 精确资源 → 默认 `zh-CN`(台港互不为 fallback) @Slf4j public class JsonMessageSource extends AbstractMessageSource { @@ -40,10 +47,26 @@ public class JsonMessageSource extends AbstractMessageSource { /// 已加载的可用 locale 标签集合(如 en-US, zh-CN),启动时扫描 private final Set availableLocaleTags = new HashSet<>(); - /// 语言码 → 首个匹配的地区 locale 标签(如 en → en-US, zh → zh-CN),用于反向回退 - /// 当请求纯语言码(如 en)而无对应资源目录时, 据此映射到同语言的地区资源 + /// 语言码 → 地区 locale 标签(如 en → en-US, zh → zh-CN),用于反向回退 private final Map languageToRegionLocale = new HashMap<>(); + /// Accept-Language / 客户端变体 → 资源目录 locale 标签 + private static final Map LOCALE_ALIASES = Map.ofEntries( + Map.entry("zh-hans", "zh-CN"), + Map.entry("zh-hans-cn", "zh-CN"), + Map.entry("zh-cn", "zh-CN"), + Map.entry("zh-hant", "zh-TW"), + Map.entry("zh-hant-tw", "zh-TW"), + Map.entry("zh-tw", "zh-TW"), + Map.entry("zh-hant-hk", "zh-HK"), + Map.entry("zh-hk", "zh-HK"), + Map.entry("zh-hant-mo", "zh-HK"), + Map.entry("zh-mo", "zh-HK"), + Map.entry("en", "en-US"), + Map.entry("en-us", "en-US"), + Map.entry("en-gb", "en-US") + ); + public JsonMessageSource(ResourcePatternResolver resourceResolver) { this.resourceResolver = resourceResolver; this.scanAvailableLocales(); @@ -51,38 +74,56 @@ public class JsonMessageSource extends AbstractMessageSource { @Override protected MessageFormat resolveCode(String code, Locale locale) { - Map messages = this.loadMessages(locale); + Locale resolved = this.resolveResourceLocale(locale); + Map messages = this.loadMessages(resolved); String message = messages.get(code); - // 未命中则按语言(不含地区)回退: zh-CN -> zh + + // 未命中则按语言反向匹配地区: en -> en-US;zh 优先 zh-CN if (message == null) { - Locale langOnly = Locale.of(locale.getLanguage()); - if (!langOnly.equals(locale)) { - messages = this.loadMessages(langOnly); - message = messages.get(code); - } - } - // 仍未命中则按语言反向匹配地区: en -> en-US, zh -> zh-CN, zh-Hans -> zh-CN - if (message == null) { - String lang = locale.getLanguage(); + String lang = resolved.getLanguage(); if (!lang.isEmpty()) { String regionTag = this.languageToRegionLocale.get(lang); if (regionTag != null) { Locale regionLocale = Locale.forLanguageTag(regionTag); - if (!regionLocale.equals(locale)) { + if (!regionLocale.equals(resolved)) { messages = this.loadMessages(regionLocale); message = messages.get(code); } } } } - // 仍未命中则用默认 locale 回退 - if (message == null && !locale.equals(this.defaultLocale)) { + + // 仍未命中则用默认 locale 回退(台港互不回退,统一可回 zh-CN) + if (message == null && !resolved.equals(this.defaultLocale)) { messages = this.loadMessages(this.defaultLocale); message = messages.get(code); } return message != null ? new MessageFormat(message, locale) : null; } + /// 将请求 locale 规范为资源目录标签对应的 Locale + private Locale resolveResourceLocale(Locale locale) { + if (locale == null) { + return this.defaultLocale; + } + String tag = locale.toLanguageTag(); + String lower = tag.toLowerCase(Locale.ROOT); + String alias = LOCALE_ALIASES.get(lower); + if (alias != null) { + return Locale.forLanguageTag(alias); + } + // 脚本 Hant 无地区 → 台湾 + if ("zh".equals(locale.getLanguage()) && "Hant".equalsIgnoreCase(locale.getScript()) + && (locale.getCountry() == null || locale.getCountry().isEmpty())) { + return Locale.forLanguageTag("zh-TW"); + } + // 脚本 Hans → 简体 + if ("zh".equals(locale.getLanguage()) && "Hans".equalsIgnoreCase(locale.getScript())) { + return Locale.forLanguageTag("zh-CN"); + } + return locale; + } + private Map loadMessages(Locale locale) { return this.cachedMessages.computeIfAbsent(locale, this::loadFromFiles); } @@ -90,25 +131,20 @@ public class JsonMessageSource extends AbstractMessageSource { private Map loadFromFiles(Locale locale) { Map result = new HashMap<>(); String localeTag = locale.toLanguageTag(); - // 兼容 zh-CN 和 zh_CN 两种格式 String basePath = "classpath*:i18n/" + localeTag + "/**/*.json"; try { Resource[] resources = this.resourceResolver.getResources(basePath); for (Resource resource : resources) { String filePath = resource.getURL().toString(); - // 提取相对路径: 从 i18n/{locale}/ 之后到 .json 之前 String relativePath = this.extractRelativePath(filePath, localeTag); if (relativePath == null) { continue; } - // 读取文件内容 String content = this.readResourceContent(resource); if (content == null || content.isBlank()) { continue; } - // 解析 JSON JSONObject jsonObj = JSONUtil.parseObj(content); - // 递归展平 this.flattenJson(relativePath, jsonObj, result); } log.debug("加载国际化文件完成, locale={}, 条目数={}", localeTag, result.size()); @@ -121,7 +157,6 @@ public class JsonMessageSource extends AbstractMessageSource { /// 从完整 URL 路径中提取 locale 后的相对路径 /// 例如: .../i18n/zh-CN/channel/enum.json → channel.enum - /// 从资源 URL 解析 i18n 相对路径前缀(供单测校验) String extractRelativePath(String fileUrl, String localeTag) { String decoded = URLDecoder.decode(fileUrl, StandardCharsets.UTF_8); String marker = "i18n/" + localeTag + "/"; @@ -130,23 +165,19 @@ public class JsonMessageSource extends AbstractMessageSource { return null; } String relative = decoded.substring(idx + marker.length()); - // 去掉 .json 后缀 if (relative.endsWith(".json")) { relative = relative.substring(0, relative.length() - 5); } - // 路径分隔符替换为 . return relative.replace('/', '.').replace('\\', '.'); } /// 启动时扫描 i18n 目录下所有 locale 子目录,建立「语言码 → 地区 locale」反向映射 - /// 用于支持请求纯语言码(如 en)时反向匹配到地区资源(如 en-US) private void scanAvailableLocales() { try { Resource[] resources = this.resourceResolver.getResources("classpath*:i18n/**/*.json"); for (Resource resource : resources) { String localeTag = this.extractLocaleTag(resource.getURL().toString()); if (localeTag != null && this.availableLocaleTags.add(localeTag)) { - // 首次发现该 locale, 记录语言 → 地区映射 Locale locale = Locale.forLanguageTag(localeTag); String lang = locale.getLanguage(); if (!lang.isEmpty()) { @@ -154,14 +185,21 @@ public class JsonMessageSource extends AbstractMessageSource { } } } + // 多中文地区并存时,纯语言码 zh 固定落到简体,避免扫序导致落到 zh-TW/zh-HK + if (this.availableLocaleTags.contains("zh-CN")) { + this.languageToRegionLocale.put("zh", "zh-CN"); + } + if (this.availableLocaleTags.contains("en-US")) { + this.languageToRegionLocale.put("en", "en-US"); + } log.debug("扫描到可用 locale: {}, 语言→地区映射: {}", this.availableLocaleTags, this.languageToRegionLocale); - } catch (IOException e) { + } + catch (IOException e) { log.warn("扫描可用 locale 失败, 语言→地区反向回退将不可用", e); } } /// 从资源 URL 提取 locale 标签 - /// .../i18n/en-US/enum/xxx.json → "en-US" private String extractLocaleTag(String fileUrl) { String decoded = URLDecoder.decode(fileUrl, StandardCharsets.UTF_8); String marker = "i18n/"; @@ -174,9 +212,6 @@ public class JsonMessageSource extends AbstractMessageSource { return slash > 0 ? after.substring(0, slash) : null; } - /// 递归展平 JSON 对象 - /// 例如: { "alipay": "支付宝", "amount": { "exceed": "金额超限" } } - /// 前缀 "channel.enum" → channel.enum.alipay="支付宝", channel.enum.amount.exceed="金额超限" private void flattenJson(String prefix, JSONObject json, Map result) { for (Map.Entry entry : json.entrySet()) { String key = prefix.isEmpty() ? entry.getKey() : prefix + "." + entry.getKey(); diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/enum/currency.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/enum/currency.json new file mode 100644 index 000000000..ca91c64c6 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/enum/currency.json @@ -0,0 +1,8 @@ +{ + "cny": "CNY", + "usd": "USD", + "jpy": "JPY", + "eur": "EUR", + "hkd": "HKD", + "gbp": "GBP" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/enum/pay_trade_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/enum/pay_trade_type.json new file mode 100644 index 000000000..8388ebda7 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/enum/pay_trade_type.json @@ -0,0 +1,8 @@ +{ + "normal": "Normal Pay", + "gateway": "Gateway Pay", + "authorize": "Authorize", + "capture": "Capture", + "recurring": "Recurring", + "combine_sub": "Combine Sub-order" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/auth.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/auth.json index 888be2fbd..991da86be 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/auth.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/auth.json @@ -28,5 +28,6 @@ "beReplaced": "Account signed in on another device", "kickOut": "Session no longer valid, please log in again", "tokenFreeze": "Authentication credential frozen", - "concurrentLimitExceeded": "Concurrent login limit reached, please sign out from another device first" + "concurrentLimitExceeded": "Concurrent login limit reached, please sign out from another device first", + "contextNotInit": "Auth context is not initialized. Please sign in again or refresh the page." } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/common.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/common.json index cb512a0ff..54386cf79 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/common.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/common.json @@ -36,5 +36,10 @@ "gatewayPayTypeNotExist": "Gateway pay type not found: {0}", "aggregateConfigLevelNotExist": "Aggregate config level not found: {0}", "gatewayCashierTypeNotExist": "Gateway cashier type not found: {0}", - "cashierItemResolveModeNotExist": "Cashier item resolve mode not found: {0}" + "cashierItemResolveModeNotExist": "Cashier item resolve mode not found: {0}", + "currencyNotExist": "Currency not found: {0}", + "payTradeTypeNotExist": "Pay trade type not found: {0}", + "payFundStatusNotExist": "Pay fund status not found: {0}", + "normalOrderStatusNotExist": "Normal pay order status not found: {0}", + "gatewayOrderStatusNotExist": "Gateway order status not found: {0}" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/iam/role.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/iam/role.json index 33e76b2a5..b467ee894 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/iam/role.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/en-US/error/iam/role.json @@ -5,5 +5,6 @@ "permissionDbError": "User has no permission", "internalCannotDelete": "Built-in role cannot be deleted", "assignOutOfScope": "Role assignment exceeds the assignable scope", + "assignCrossClient": "Cannot assign a role across terminals: user client [{0}], role client [{1}]", "notExist": "Role not found" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/enum/currency.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/enum/currency.json new file mode 100644 index 000000000..0091d6a2e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/enum/currency.json @@ -0,0 +1,8 @@ +{ + "cny": "人民币", + "usd": "美元", + "jpy": "日元", + "eur": "欧元", + "hkd": "港元", + "gbp": "英镑" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/enum/pay_trade_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/enum/pay_trade_type.json new file mode 100644 index 000000000..f88355c52 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/enum/pay_trade_type.json @@ -0,0 +1,8 @@ +{ + "normal": "普通支付", + "gateway": "网关支付", + "authorize": "预授权冻结", + "capture": "预授权捕获", + "recurring": "周期代扣", + "combine_sub": "合单子单" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/auth.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/auth.json index 1d7fb2145..8d08bc63f 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/auth.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/auth.json @@ -28,5 +28,6 @@ "beReplaced": "账号已在其他设备登录", "kickOut": "登录状态已失效,请重新登录", "tokenFreeze": "登录凭证已被冻结", - "concurrentLimitExceeded": "并发登录数已达上限,请先退出其他设备" + "concurrentLimitExceeded": "并发登录数已达上限,请先退出其他设备", + "contextNotInit": "认证上下文未初始化,请重新登录或刷新页面" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/common.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/common.json index ce246f1da..0474b9b6d 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/common.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/common.json @@ -36,5 +36,10 @@ "gatewayPayTypeNotExist": "网关支付类型不存在: {0}", "aggregateConfigLevelNotExist": "聚合扫码配置深度不存在: {0}", "gatewayCashierTypeNotExist": "收银台类型不存在: {0}", - "cashierItemResolveModeNotExist": "收银台支付项解析模式不存在: {0}" + "cashierItemResolveModeNotExist": "收银台支付项解析模式不存在: {0}", + "currencyNotExist": "币种不存在: {0}", + "payTradeTypeNotExist": "资金交易形态不存在: {0}", + "payFundStatusNotExist": "资金交易状态不存在: {0}", + "normalOrderStatusNotExist": "普通支付订单状态不存在: {0}", + "gatewayOrderStatusNotExist": "网关支付订单状态不存在: {0}" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/iam/role.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/iam/role.json index be2d690ea..39808cb11 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/iam/role.json +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-CN/error/iam/role.json @@ -5,5 +5,6 @@ "permissionDbError": "用户没有权限", "internalCannotDelete": "内置角色不允许删除", "assignOutOfScope": "角色分配超出了可分配的范围", + "assignCrossClient": "禁止为用户分配跨终端角色:用户归属终端[{0}],角色归属终端[{1}]", "notExist": "角色不存在" } diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/channel/error.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/channel/error.json new file mode 100644 index 000000000..65e6dda2f --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/channel/error.json @@ -0,0 +1,35 @@ +{ + "success": "success", + "channelNotFound": "不支持的通道編碼", + "channelNotFoundWithDetail": "不支持的通道編碼: {0}", + "invalidConfig": "通道配置無效", + "sdkCallFailed": "SDK 調用失敗", + "sdkCallFailedWithDetail": "SDK 調用失敗: {0}", + "callbackVerifyFailed": "回調驗籤失敗", + "cacheConcurrentConflict": "併發衝突", + "systemError": "系統內部錯誤", + "validateParams": "參數校驗失敗", + "wechatOrderQueryFailed": "微信訂單查詢異常: {0}", + "wechatRefundQueryFailed": "微信退款查詢異常: {0}", + "wechatRefundCallFailed": "微信退款調用異常: {0}", + "wechatPayCallFailed": "微信支付調用異常: {0}", + "wechatCloseOrderFailed": "微信關閉訂單異常: {0}", + "alipayOrderQueryFailed": "支付寶訂單查詢異常: {0}", + "alipayRefundQueryFailed": "支付寶退款查詢異常: {0}", + "alipayRefundFailed": "支付寶退款異常: {0}", + "alipayRefundCallFailed": "支付寶退款調用異常: {0}", + "alipayPreCreateFailed": "支付寶預創建訂單異常: {0}", + "alipayPayCallFailed": "支付寶支付調用異常: {0}", + "alipayCloseOrderFailed": "支付寶關閉訂單異常: {0}", + "alipayClientCreateFailed": "創建AlipayClient異常: {0}", + "lakalaIsvKeyNotConfigured": "拉卡拉服務商密鑰未配置", + "lakalaMerchantDuplicate": "該商户下已存在此拉卡拉商户號", + "lakalaPayFailed": "支付異常: {0}", + "lakalaRefundFailed": "退款異常: {0}", + "lakalaSyncFailed": "訂單同步異常: {0}", + "lakalaCloseFailed": "關閉訂單異常: {0}", + "lakalaUnsupportedPayMethod": "拉卡拉不支持的支付方式: {0}", + "yeepayPayFailed": "易寶支付下單失敗", + "yeepayCloseFailed": "易寶關閉訂單失敗", + "yeepayUnsupportedPayMethod": "易寶不支持該支付方式: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/common.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/common.json new file mode 100644 index 000000000..2e5c429ef --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/common.json @@ -0,0 +1,12 @@ +{ + "save": "保存", + "delete": "刪除", + "confirm": "確認", + "cancel": "取消", + "submit": "提交", + "enable": "啓用", + "disable": "停用", + "operation": "操作", + "createTime": "創建時間", + "updateTime": "更新時間" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/aggregate_config_level.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/aggregate_config_level.json new file mode 100644 index 000000000..eadd912fe --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/aggregate_config_level.json @@ -0,0 +1,5 @@ +{ + "auto": "跟隨通道路由", + "method": "指定支付方式", + "direct": "指定通道商户" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/apply_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/apply_type.json new file mode 100644 index 000000000..31d38c668 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/apply_type.json @@ -0,0 +1,5 @@ +{ + "merchant": "商户進件", + "enterprise": "企業進件", + "micro": "小微進件" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/callback_notice_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/callback_notice_type.json new file mode 100644 index 000000000..b82b13ca5 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/callback_notice_type.json @@ -0,0 +1,3 @@ +{ + "system": "系統回調" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/cashier_item_resolve_mode.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/cashier_item_resolve_mode.json new file mode 100644 index 000000000..aad9dd40c --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/cashier_item_resolve_mode.json @@ -0,0 +1,4 @@ +{ + "method": "指定支付方式", + "direct": "指定通道商户" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/cashier_scene.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/cashier_scene.json new file mode 100644 index 000000000..be263ea7a --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/cashier_scene.json @@ -0,0 +1,7 @@ +{ + "browser": "瀏覽器環境", + "wechat_pay": "微信環境", + "alipay": "支付寶環境", + "union_pay": "雲閃付環境", + "douyin": "抖音環境" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel.json new file mode 100644 index 000000000..1071fac74 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel.json @@ -0,0 +1,20 @@ +{ + "alipay": "支付寶", + "wechat": "微信支付", + "union_pay": "雲閃付", + "leshua_pay": "樂刷", + "vbill_pay": "隨行付", + "ada_pay": "匯付天下", + "dougong_pay": "斗拱", + "hkrt_pay": "海科融通", + "lakala_pay": "拉卡拉", + "fuyou_pay": "富友", + "sheng_pay": "盛付通", + "ysep_pay": "銀盛", + "quick_pay": "快錢", + "sand_pay": "杉德", + "yee_pay": "易寶", + "ums_pay": "銀聯商務", + "douyin_pay": "抖音支付", + "jee_pay": "jeepay" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_api_call_mode.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_api_call_mode.json new file mode 100644 index 000000000..fe04367a0 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_api_call_mode.json @@ -0,0 +1,5 @@ +{ + "mch": "標準商户", + "isv": "服務商", + "mix": "混合調用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_auth_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_auth_type.json new file mode 100644 index 000000000..8477be3d8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_auth_type.json @@ -0,0 +1,6 @@ +{ + "wechat": "微信", + "alipay": "支付寶", + "union_pay": "銀聯", + "douyin": "抖音" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_merchant_data_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_merchant_data_type.json new file mode 100644 index 000000000..916f7c893 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_merchant_data_type.json @@ -0,0 +1,3 @@ +{ + "mch_info": "商户信息" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_merchant_source.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_merchant_source.json new file mode 100644 index 000000000..f2cb50ecd --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_merchant_source.json @@ -0,0 +1,3 @@ +{ + "manual": "手動創建" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_pay_id_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_pay_id_type.json new file mode 100644 index 000000000..2a95ddc87 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_pay_id_type.json @@ -0,0 +1,4 @@ +{ + "mch": "商户號", + "identity": "身份標識" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_terminal_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_terminal_status.json new file mode 100644 index 000000000..c659aa357 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/channel_terminal_status.json @@ -0,0 +1,7 @@ +{ + "init": "初始化", + "wait": "未報送", + "submit": "已報送", + "logged": "已註銷", + "error": "錯誤" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/client.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/client.json new file mode 100644 index 000000000..21379b8ef --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/client.json @@ -0,0 +1,5 @@ +{ + "gateway": "支付網關", + "admin": "運營端", + "merchant": "商户端" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/currency.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/currency.json new file mode 100644 index 000000000..3438580e7 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/currency.json @@ -0,0 +1,8 @@ +{ + "cny": "人民幣", + "usd": "美元", + "jpy": "日元", + "eur": "歐元", + "hkd": "港元", + "gbp": "英鎊" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/douyin_direct_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/douyin_direct_app_type.json new file mode 100644 index 000000000..e3a114801 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/douyin_direct_app_type.json @@ -0,0 +1,5 @@ +{ + "mini_program": "小程序", + "mobile_app": "移動應用", + "web_app": "網站應用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/encrypt_platform_config_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/encrypt_platform_config_type.json new file mode 100644 index 000000000..0e3bcd030 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/encrypt_platform_config_type.json @@ -0,0 +1,6 @@ +{ + "oss": "對象存儲配置", + "alipay_auth": "支付寶開放平台認證配置", + "wechat_mp_auth": "微信公眾號 H5 認證配置", + "douyin_h5_auth": "抖音開放平台 H5 應用認證配置" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/file_upload_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/file_upload_status.json new file mode 100644 index 000000000..be66747f8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/file_upload_status.json @@ -0,0 +1,4 @@ +{ + "pending": "待上傳", + "uploaded": "已上傳" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_call_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_call_type.json new file mode 100644 index 000000000..46fdd9d0c --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_call_type.json @@ -0,0 +1,8 @@ +{ + "qr_code": "掃碼支付", + "link": "跳轉鏈接", + "mini_app": "小程序跳轉鏈接", + "jsapi": "JSAPI", + "from": "表單方式", + "app": "APP支付方式" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_cashier_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_cashier_type.json new file mode 100644 index 000000000..03e63a482 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_cashier_type.json @@ -0,0 +1,4 @@ +{ + "h5": "H5收銀台", + "web": "WEB收銀台" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_order_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_order_status.json new file mode 100644 index 000000000..21c0c1904 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_order_status.json @@ -0,0 +1,7 @@ +{ + "wait_pay": "待支付", + "paying": "支付中", + "paid": "已支付", + "closed": "已關閉", + "expired": "已過期" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_pay_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_pay_type.json new file mode 100644 index 000000000..0da5a36e7 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/gateway_pay_type.json @@ -0,0 +1,4 @@ +{ + "cashier": "統一收銀台", + "aggregate": "聚合掃碼" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mch_app_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mch_app_status.json new file mode 100644 index 000000000..2cce2d87e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mch_app_status.json @@ -0,0 +1,4 @@ +{ + "disabled": "禁用", + "enable": "啓用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/menu_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/menu_type.json new file mode 100644 index 000000000..27330f965 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/menu_type.json @@ -0,0 +1,8 @@ +{ + "catalog": "目錄", + "menu": "菜單", + "subpage": "子頁面", + "subpage_group": "子頁面分組", + "embedded": "內嵌頁面", + "link": "外鏈" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/merchant_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/merchant_status.json new file mode 100644 index 000000000..2cce2d87e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/merchant_status.json @@ -0,0 +1,4 @@ +{ + "disabled": "禁用", + "enable": "啓用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mobile_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mobile_app_type.json new file mode 100644 index 000000000..06fc1b460 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mobile_app_type.json @@ -0,0 +1,5 @@ +{ + "merchant": "商户端", + "admin": "管理端", + "cashier": "收銀台小程序" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mobile_platform.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mobile_platform.json new file mode 100644 index 000000000..56ee61ff3 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/mobile_platform.json @@ -0,0 +1,8 @@ +{ + "wx_h5": "微信公眾號", + "wx_mini": "微信小程序", + "alipay_mini": "支付寶小程序", + "dy_mini": "抖音小程序", + "android": "安卓APP", + "ios": "iOS APP" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/normal_order_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/normal_order_status.json new file mode 100644 index 000000000..2a77906bb --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/normal_order_status.json @@ -0,0 +1,6 @@ +{ + "wait_pay": "待支付", + "paid": "已支付", + "closed": "已關閉", + "expired": "已過期" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notice_send_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notice_send_type.json new file mode 100644 index 000000000..6040e7b6a --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notice_send_type.json @@ -0,0 +1,4 @@ +{ + "auto": "自動發送", + "manual": "手動發送" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_content_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_content_type.json new file mode 100644 index 000000000..847233c8d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_content_type.json @@ -0,0 +1,4 @@ +{ + "pay": "支付訂單變動通知", + "refund": "退款訂單變動通知" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_severity.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_severity.json new file mode 100644 index 000000000..2a97d193e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_severity.json @@ -0,0 +1,4 @@ +{ + "normal": "普通", + "important": "重要" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_status.json new file mode 100644 index 000000000..0059a6a09 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_status.json @@ -0,0 +1,5 @@ +{ + "draft": "草稿", + "published": "發佈", + "offline": "下線" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_type.json new file mode 100644 index 000000000..3c22f94a2 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/notify_type.json @@ -0,0 +1,4 @@ +{ + "notice": "公告", + "message": "消息" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/operate_log_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/operate_log_type.json new file mode 100644 index 000000000..989283852 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/operate_log_type.json @@ -0,0 +1,12 @@ +{ + "other": "其它", + "add": "新增", + "update": "修改", + "delete": "刪除", + "grant": "授權", + "sync": "同步", + "export": "導出", + "import": "導入", + "force": "強退", + "clean": "清空" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_body_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_body_type.json new file mode 100644 index 000000000..f9cb3a144 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_body_type.json @@ -0,0 +1,8 @@ +{ + "link": "支付鏈接", + "jsapi": "JSAPI對象", + "from": "表單數據", + "identifier": "標識碼", + "qr_code": "二維碼", + "json": "JSON對象" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_capability.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_capability.json new file mode 100644 index 000000000..331e36513 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_capability.json @@ -0,0 +1,30 @@ +{ + "aggregate_pay_qrcode": "聚合掃碼", + "aggregate_pay_barcode": "聚合付款碼", + "wechat_cashier": "微信小程序收銀台", + "wechat_jsapi": "微信 JSAPI", + "wechat_app": "微信 APP", + "wechat_h5": "微信 H5", + "wechat_qr": "微信掃碼", + "wechat_mini": "微信小程序", + "wechat_barcode": "微信付款碼", + "alipay_barcode": "支付寶付款碼", + "alipay_qr": "支付寶掃碼", + "alipay_app": "支付寶 APP", + "alipay_h5": "支付寶 H5", + "alipay_pc": "支付寶電腦", + "alipay_jsapi": "支付寶 JSAPI", + "alipay_mini": "支付寶小程序", + "union_pay_qr": "銀聯掃碼", + "union_pay_barcode": "銀聯付款碼", + "union_pay_h5": "銀聯 H5", + "union_pay_jsapi": "銀聯 JSAPI", + "douyin_qr": "抖音掃碼", + "douyin_jsapi": "抖音 JSAPI", + "douyin_h5": "抖音 H5", + "douyin_app": "抖音 APP", + "visa_card_gateway": "Visa 網關", + "visa_card_present": "Visa 線下", + "mastercard_card_gateway": "萬事達網關", + "mastercard_card_present": "萬事達線下" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_env.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_env.json new file mode 100644 index 000000000..e6e36fef0 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_env.json @@ -0,0 +1,5 @@ +{ + "prod": "生產環境", + "sandbox": "沙箱環境", + "none": "未啓用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_fund_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_fund_status.json new file mode 100644 index 000000000..5c807a695 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_fund_status.json @@ -0,0 +1,8 @@ +{ + "init": "待支付", + "processing": "處理中", + "success": "成功", + "fail": "失敗", + "close": "已關閉", + "cancel": "已撤銷" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_limit_pay.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_limit_pay.json new file mode 100644 index 000000000..1130406f1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_limit_pay.json @@ -0,0 +1,3 @@ +{ + "no_credit": "信用卡支付" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_method.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_method.json new file mode 100644 index 000000000..f52fdcd08 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_method.json @@ -0,0 +1,31 @@ +{ + "aggregate_pay_qrcode": "聚合掃碼", + "aggregate_pay_barcode": "聚合付款碼", + "wechat_cashier": "微信小程序收銀台", + "wechat_qr": "微信Native", + "wechat_jsapi": "微信JSAPI", + "wechat_mini": "微信小程序", + "wechat_h5": "微信H5", + "wechat_app": "微信APP", + "wechat_barcode": "微信付款碼", + "alipay_qr": "支付寶掃碼", + "alipay_jsapi": "支付寶JSAPI", + "alipay_mini": "支付寶小程序", + "alipay_pc": "支付寶PC", + "alipay_h5": "支付寶H5", + "alipay_app": "支付寶APP", + "alipay_barcode": "支付寶付款碼", + "union_qr": "銀聯掃碼", + "union_jsapi": "銀聯JSAPI", + "union_h5": "銀聯H5", + "union_pay_barcode": "銀聯付款碼", + "douyin_qr": "抖音掃碼", + "douyin_jsapi": "抖音JSAPI", + "douyin_h5": "抖音H5", + "douyin_app": "抖音APP", + "visa_card_gateway": "Visa網關", + "visa_card_present": "Visa刷卡", + "mastercard_card_gateway": "萬事達網關", + "mastercard_card_present": "萬事達刷卡", + "other": "其他" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_provider.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_provider.json new file mode 100644 index 000000000..1d2b6c561 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_provider.json @@ -0,0 +1,9 @@ +{ + "aggregate_pay": "聚合支付", + "wechat": "微信支付", + "alipay": "支付寶", + "union_pay": "銀聯", + "visa": "Visa", + "mastercard": "萬事達", + "douyin": "抖音支付" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_refund_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_refund_status.json new file mode 100644 index 000000000..92441765f --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_refund_status.json @@ -0,0 +1,6 @@ +{ + "no_refund": "未退款", + "refunding": "退款中", + "partial_refund": "部分退款", + "refunded": "全部退款" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_route_mode.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_route_mode.json new file mode 100644 index 000000000..e534cba4f --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_route_mode.json @@ -0,0 +1,4 @@ +{ + "basic": "按渠道默認", + "scene": "按支付方式" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_status.json new file mode 100644 index 000000000..58f68c061 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_status.json @@ -0,0 +1,9 @@ +{ + "wait": "待支付", + "progress": "支付中", + "success": "成功", + "close": "支付關閉", + "cancel": "支付撤銷", + "fail": "失敗", + "timeout": "支付超時" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_trade_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_trade_type.json new file mode 100644 index 000000000..1c20c4433 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/pay_trade_type.json @@ -0,0 +1,8 @@ +{ + "normal": "普通支付", + "gateway": "網關支付", + "authorize": "預授權凍結", + "capture": "預授權捕獲", + "recurring": "週期代扣", + "combine_sub": "合單子單" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/platform_config_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/platform_config_type.json new file mode 100644 index 000000000..8beb9f1a1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/platform_config_type.json @@ -0,0 +1,9 @@ +{ + "security_password_policy": "密碼策略配置", + "security_login": "登錄安全配置", + "security_session": "會話管理配置", + "security_two_factor_auth": "雙因素認證配置", + "url": "系統訪問地址配置", + "website": "站點顯示內容配置", + "wechat_notify": "微信消息通知模板配置" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/product.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/product.json new file mode 100644 index 000000000..94c324fc0 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/product.json @@ -0,0 +1,27 @@ +{ + "alipay_isv": "支付寶(服務商)", + "alipay": "支付寶(直連)", + "wechat_isv": "微信支付(服務商)", + "wechat_pay": "微信支付(直連)", + "douyin_pay": "抖音支付(直連)", + "ums_qrcode": "銀聯商務(C掃B)", + "ums_jsapi": "銀聯商務(公眾號)", + "ums_app": "銀聯商務(APP)", + "ums_mini": "銀聯商務(小程序)", + "ums_h5": "銀聯商務(H5)", + "ums_barcode": "銀聯商務(B掃C)", + "lakala_pay": "拉卡拉支付", + "leshua_pay": "樂刷支付", + "ada_pay": "匯付天下", + "dougong_pay": "斗拱支付", + "hkrt_pay": "海科融通", + "vbill_pay": "隨行付", + "fuyou_pay": "富友支付", + "sheng_pay": "盛付通", + "ysep_pay": "銀盛支付", + "quick_pay": "快錢支付", + "hm_pay": "河馬付", + "sand_pay": "杉德支付", + "yee_pay": "易寶支付", + "jee_pay": "Jeepay" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/qrcode_amount_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/qrcode_amount_type.json new file mode 100644 index 000000000..2f3e37c2e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/qrcode_amount_type.json @@ -0,0 +1,4 @@ +{ + "random": "自定義金額", + "fixed": "固定金額" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/qrcode_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/qrcode_status.json new file mode 100644 index 000000000..8d95963a4 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/qrcode_status.json @@ -0,0 +1,4 @@ +{ + "enabled": "啓用", + "disabled": "停用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/refund_order_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/refund_order_status.json new file mode 100644 index 000000000..73afb6e5b --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/refund_order_status.json @@ -0,0 +1,7 @@ +{ + "init": "初始化", + "progress": "退款中", + "success": "退款成功", + "fail": "退款失敗", + "close": "退款關閉" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/register_source.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/register_source.json new file mode 100644 index 000000000..0c3f8c120 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/register_source.json @@ -0,0 +1,6 @@ +{ + "H5": "H5頁面", + "MINI_APP": "小程序", + "ADMIN": "後台創建", + "PC": "PC端" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/role_code.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/role_code.json new file mode 100644 index 000000000..de7c5fc35 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/role_code.json @@ -0,0 +1,3 @@ +{ + "merchant_admin": "商户管理員" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/social_source.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/social_source.json new file mode 100644 index 000000000..d52fd9980 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/social_source.json @@ -0,0 +1,12 @@ +{ + "weChat": "微信開放平台", + "weCom": "企業微信", + "qq": "QQ", + "github": "GitHub", + "gitee": "Gitee", + "google": "Google", + "feishu": "飛書", + "dingTalk": "釘釘", + "douyin": "抖音", + "alipay": "支付寶" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/store_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/store_status.json new file mode 100644 index 000000000..4b36dc8e6 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/store_status.json @@ -0,0 +1,4 @@ +{ + "disabled": "停用", + "enable": "啓用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/subject_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/subject_type.json new file mode 100644 index 000000000..5af397cb5 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/subject_type.json @@ -0,0 +1,5 @@ +{ + "micro": "小微商户", + "individual": "個體工商户", + "enterprise": "企業" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_flow_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_flow_type.json new file mode 100644 index 000000000..b7a03d751 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_flow_type.json @@ -0,0 +1,5 @@ +{ + "pay": "支付", + "refund": "退款", + "transfer": "轉賬" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_source.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_source.json new file mode 100644 index 000000000..7d26705a8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_source.json @@ -0,0 +1,7 @@ +{ + "user": "用户操作", + "mch_api": "商户API", + "cashier_code": "碼牌", + "checkout": "收銀台支付", + "aggress_pay": "聚合/收銀台支付" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_status.json new file mode 100644 index 000000000..cfb6c0644 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_status.json @@ -0,0 +1,8 @@ +{ + "progress": "執行中", + "success": "成功", + "fail": "失敗", + "closed": "關閉", + "revoked": "撤銷", + "exception": "異常" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_type.json new file mode 100644 index 000000000..b458cdf94 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/trade_type.json @@ -0,0 +1,6 @@ +{ + "pay": "支付", + "refund": "退款", + "cashouts": "提現", + "settle": "結算" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/upload_access_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/upload_access_type.json new file mode 100644 index 000000000..821ceb2fb --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/upload_access_type.json @@ -0,0 +1,4 @@ +{ + "public": "公開文件", + "private": "私有文件" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_client_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_client_type.json new file mode 100644 index 000000000..1ecda11db --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_client_type.json @@ -0,0 +1,5 @@ +{ + "WEB": "Web端", + "APP": "App端", + "MINIAPP": "小程序端" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_content_format.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_content_format.json new file mode 100644 index 000000000..19001e4f4 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_content_format.json @@ -0,0 +1,3 @@ +{ + "MARKDOWN": "Markdown" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_status.json new file mode 100644 index 000000000..0614ff42a --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_status.json @@ -0,0 +1,5 @@ +{ + "DRAFT": "草稿", + "PUBLISHED": "已發佈", + "ARCHIVED": "已歸檔" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_type.json new file mode 100644 index 000000000..9d324d904 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_protocol_type.json @@ -0,0 +1,6 @@ +{ + "USER_AGREEMENT": "用户協議", + "PRIVACY_POLICY": "隱私政策", + "THIRD_PARTY_INFO": "第三方信息共享清單", + "CHILDREN_POLICY": "未成年人隱私説明" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_status.json new file mode 100644 index 000000000..bcfae9632 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/user_status.json @@ -0,0 +1,5 @@ +{ + "normal": "正常", + "lock": "鎖定", + "ban": "封禁" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wallet_flow_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wallet_flow_type.json new file mode 100644 index 000000000..7ff643238 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wallet_flow_type.json @@ -0,0 +1,4 @@ +{ + "withdraw": "提現", + "adjust": "人工調賬" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_auth_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_auth_app_type.json new file mode 100644 index 000000000..bf5aa0a7b --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_auth_app_type.json @@ -0,0 +1,4 @@ +{ + "SP_APP": "服務商應用", + "SUB_APP": "子商户應用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_auth_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_auth_type.json new file mode 100644 index 000000000..4280b559c --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_auth_type.json @@ -0,0 +1,4 @@ +{ + "sp": "服務商用户標識", + "sub": "子商户應用用户標識" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_direct_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_direct_app_type.json new file mode 100644 index 000000000..a83ca1e81 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_direct_app_type.json @@ -0,0 +1,5 @@ +{ + "official_account": "公眾號", + "mini_program": "小程序", + "mobile_app": "移動應用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_isv_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_isv_app_type.json new file mode 100644 index 000000000..a83ca1e81 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wechat_isv_app_type.json @@ -0,0 +1,5 @@ +{ + "official_account": "公眾號", + "mini_program": "小程序", + "mobile_app": "移動應用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wx_verify_owner_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wx_verify_owner_type.json new file mode 100644 index 000000000..e9054083e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/enum/wx_verify_owner_type.json @@ -0,0 +1,4 @@ +{ + "official_account": "公眾號", + "miniprogram": "小程序" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/artemis.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/artemis.json new file mode 100644 index 000000000..64c0cffdd --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/artemis.json @@ -0,0 +1,7 @@ +{ + "sendFailed": "消息發送失敗: {0}", + "delaySendFailed": "延時消息發送失敗: {0}", + "serializeFailed": "消息序列化失敗: {0}", + "parseBodyFailed": "消息體解析失敗: {0}", + "typeConvertFailed": "消息類型轉換失敗: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/auth.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/auth.json new file mode 100644 index 000000000..b660322a4 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/auth.json @@ -0,0 +1,33 @@ +{ + "accountOrPasswordError": "賬號或密碼不正確", + "notLogin": "用户未登錄", + "passwordExpired": "密碼已過期,請先修改密碼", + "captchaError": "驗證碼錯誤", + "captchaRequired": "請輸入驗證碼", + "userNotFound": "用户未找到", + "routerCheck": "沒有對應請求路徑的權限", + "applicationNotFound": "未找到對應的應用", + "applicationNotEnable": "指定應用已被停用", + "clientNotFound": "未找到對應的終端", + "clientNotEnable": "指定終端方式已被停用", + "clientMismatch": "該第三方賬號綁定的用户不屬於當前登錄終端", + "userStatusError": "用户狀態異常", + "privateKeyNotConfigured": "平台私鑰未配置,無法解密密碼", + "passwordDecryptFailed": "密碼解密失敗,請檢查密碼傳輸方式", + "loginMethodNotSupported": "當前終端不支持該登錄方式", + "loginAuthenticatorNotFound": "未找到對應的登錄認證器", + "builtinAdminLoginDisabled": "當前終端未開啓內置超管登錄能力", + "userDisabled": "該用户已被禁用", + "twoFactorRequired": "需要雙因素認證", + "twoFactorCodeError": "動態碼或備用碼錯誤", + "twoFactorPreAuthExpired": "預認證令牌無效或已過期,請重新登錄", + "loginRetryLock": "登錄失敗次數過多,請{0}分鐘後重試", + "notToken": "未提供登錄憑證", + "invalidToken": "登錄憑證無效", + "tokenTimeout": "登錄已過期,請重新登錄", + "beReplaced": "賬號已在其他設備登錄", + "kickOut": "登錄狀態已失效,請重新登錄", + "tokenFreeze": "登錄憑證已被凍結", + "concurrentLimitExceeded": "併發登錄數已達上限,請先退出其他設備", + "contextNotInit": "認證上下文未初始化,請重新登錄或刷新頁面" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel.json new file mode 100644 index 000000000..4bb19305e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel.json @@ -0,0 +1,3 @@ +{ + "envMismatch": "通道商户環境與支付產品當前生效環境不一致" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/alipay.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/alipay.json new file mode 100644 index 000000000..5279d75c1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/alipay.json @@ -0,0 +1,47 @@ +{ + "alipayNotEnabled": "支付寶通道未啓用", + "wechatNotEnabled": "商户或服務商微信支付通道未啓用", + "productConfigNotExist": "服務商產品支付配置不存在", + "noSubMchPerm": "你沒有權限配置此子商户號", + "closeFailed": "支付寶關閉訂單異常: {0}", + "closeFailedReason": "關閉失敗, 原因: {0}", + "cannotCloseSyncFirst": "當前交易無法關閉操作, 請對訂單同步狀態後再進行操作", + "refundQueryInterval": "間隔10秒以上再發起退款查詢請求", + "alipayRefundFailed": "支付寶退款失敗: {0}", + "wechatRefundV3Failed": "微信退款V3失敗", + "alipayH5Failed": "支付寶手機支付失敗", + "alipayAppFailed": "支付寶APP支付失敗", + "alipayPcFailed": "支付寶PC支付失敗", + "alipayJsapiFailed": "支付寶JsApi支付失敗", + "alipayScanFailed": "支付寶掃碼支付失敗", + "alipayBscanFailed": "主動掃碼支付失敗", + "payFailed": "支付寶支付異常: {0}", + "notSupportCancel": "該訂單不支持撤銷操作", + "notSupportMethod": "暫不支持的支付寶支付方式: {0}", + "wechatJsapiNeedOpenid": "微信JSAPI支付必須傳入openId參數", + "wechatH5Failed": "微信V3手機網站支付失敗", + "wechatAppFailed": "微信V3程序支付失敗", + "wechatJsapiFailed": "微信V3JsApi支付失敗", + "wechatScanFailed": "微信V3掃碼支付失敗", + "wechatCancelV3Failed": "微信撤銷支付V3失敗", + "privateKeyRequired": "應用私鑰不可為空", + "alipayPublicKeyRequired": "支付寶公鑰不可為空", + "appCertRequired": "應用公鑰證書不可為空", + "alipayCertRequired": "支付寶公鑰證書不可為空", + "alipayRootCertRequired": "支付寶CA根證書不可為空", + "apiV3KeyRequired": "API V3密鑰不可為空", + "subConfigNotExist": "支付寶子商户配置不存在", + "mchProductConfigNotExist": "支付寶產品支付配置不存在", + "appIdDuplicate": "同一服務商下應用ID已存在", + "appNotFound": "支付寶服務商應用不存在", + "mchAppNotFound": "支付寶通道商户應用不存在", + "subMerchantDuplicate": "該支付寶應用下已存在此子商户號", + "directMchDuplicate": "同一商户下該支付寶商户已存在", + "userIdTypeInvalid": "用户標識類型不合法", + "capabilityDuplicate": "支付能力[{0}]重複配置", + "authUserIdMismatch": "授權返回的商户號與通道商户綁定的子商户號不一致,已拒絕綁定", + "subMerchantNoRequired": "請先配置子商户號(2088)後再發起代運營授權", + "authCodeInvalid": "支付寶授權碼無效或已過期", + "authTokenExchangeFailed": "換取應用授權令牌失敗: {0}", + "paymentGatewayUrlRequired": "平台支付網關地址(paymentGatewayBaseUrl)未配置,無法生成授權回調地址" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/douyin.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/douyin.json new file mode 100644 index 000000000..6ec2fa48e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/douyin.json @@ -0,0 +1,10 @@ +{ + "mchAppNotFound": "抖音通道商户應用不存在", + "appIdDuplicate": "同一通道商户下抖音應用ID已存在", + "directMchDuplicate": "同一商户下該抖音直連商户已存在", + "appTypeInvalid": "抖音應用類型無效", + "capabilityDuplicate": "同一通道商户下支付能力[{0}]重複配置", + "payFailed": "抖音支付異常: {0}", + "closeFailed": "抖音關閉訂單異常: {0}", + "notSupportMethod": "暫不支持的抖音支付方式: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/lakala.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/lakala.json new file mode 100644 index 000000000..bc65f075a --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/lakala.json @@ -0,0 +1,7 @@ +{ + "privateKeyRequired": "應用私鑰不可為空", + "publicKeyRequired": "應用公鑰不可為空", + "lklAppIdRequired": "拉卡拉應用編號不可為空", + "mchSerialNoRequired": "商户證書序列號不可為空", + "termNoNotConfigured": "終端號未配置, 請在商户配置中填寫" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/leshua.json new file mode 100644 index 000000000..1d384350f --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/leshua.json @@ -0,0 +1,4 @@ +{ + "isvKeyNotConfigured": "樂刷服務商密鑰未配置", + "merchantDuplicate": "該商户下已存在此樂刷商户號" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/ums.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/ums.json new file mode 100644 index 000000000..ac2c0261d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/ums.json @@ -0,0 +1,5 @@ +{ + "payFailed": "銀聯商務支付異常: {0}", + "closeFailed": "銀聯商務關閉訂單異常: {0}", + "notSupportMethod": "暫不支持的銀聯商務支付方式: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/vbill.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/vbill.json new file mode 100644 index 000000000..32fe297b8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/vbill.json @@ -0,0 +1,5 @@ +{ + "isvKeyNotConfigured": "隨行付服務商密鑰未配置", + "mnoNotConfigured": "天闕商户號(mno)未配置, 請在商户配置中填寫", + "merchantDuplicate": "該商户下已存在此天闕商户號" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/wechat.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/wechat.json new file mode 100644 index 000000000..5f3e0be9e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/channel/wechat.json @@ -0,0 +1,59 @@ +{ + "notEnabled": "微信支付未啓用", + "refundV3Failed": "微信退款V3失敗: {0}", + "jsapiNeedOpenid": "微信JSAPI支付需要傳入openId", + "h5Failed": "微信H5支付失敗: {0}", + "appFailed": "微信APP支付失敗: {0}", + "jsapiFailed": "微信JSAPI支付失敗: {0}", + "scanFailed": "微信掃碼支付失敗: {0}", + "cancelV3Failed": "微信撤銷V3失敗: {0}", + "apiV3KeyRequired": "API V3密鑰未配置", + "privateKeyRequired": "商户私鑰未配置", + "messageRecordNotExist": "消息記錄不存在", + "onlyFailedCanResend": "只能重發失敗的消息", + "platformConfigNotExist": "微信消息通知配置不存在", + "mpAuthConfigIncomplete": "三方平台微信公眾號憑據未配置(AppId/AppSecret)", + "configParamsRequired": "微信配置參數不能為空", + "mpTemplateMessageFailed": "發送公眾號模板消息失敗: {0}", + "mpTemplateMessageError": "發送公眾號模板消息異常: {0}", + "maUniformMessageFailed": "發送小程序統一服務消息失敗: {0}", + "maUniformMessageError": "發送小程序統一服務消息異常: {0}", + "unsupportedMessageType": "不支持的消息類型: {0}", + "messageResendFailed": "重發消息失敗: {0}", + "userInfoFetchFailed": "獲取用户信息失敗: {0}", + "userInfoFetchError": "獲取用户信息異常: {0}", + "paramsRequired": "參數不能為空", + "phoneFetchFailed": "獲取手機號失敗: {0}", + "phoneFetchError": "獲取手機號異常: {0}", + "userInfoNotFound": "未獲取到微信用户信息", + "userNotSubscribed": "用户未關注公眾號", + "phoneNotFound": "未獲取到微信手機號", + "mpAuthFailed": "微信公眾號認證失敗: {0}", + "mpAuthConfigError": "微信公眾號認證配置錯誤: {0}", + "maAuthFailed": "微信小程序認證失敗: {0}", + "maAuthConfigError": "微信小程序認證配置錯誤: {0}", + "subConfigNotExist": "微信子商户配置不存在", + "productConfigNotExist": "微信服務商密鑰配置不存在", + "appNotFound": "微信服務商應用不存在", + "mchAppNotFound": "微信通道商户應用不存在", + "mchAppWxAppIdDuplicate": "該通道商户下微信應用AppId已存在", + "appIdDuplicate": "該服務商下微信應用AppId已存在", + "appTypeInvalid": "微信應用類型無效", + "authAppTypeInvalid": "微信認證應用類型無效", + "appSecretRequired": "應用密鑰不可為空", + "publicKeyRequired": "支付公鑰未配置", + "privateCertRequired": "API證書未配置", + "subMerchantDuplicate": "該微信應用下已存在此特約商户號", + "directMchDuplicate": "同一商户下該微信商户已存在", + "capabilityDuplicate": "微信支付能力[{0}]重複配置", + "payFailed": "微信支付異常: {0}", + "closeFailed": "微信關閉訂單異常: {0}", + "unsupportedPayMethod": "暫不支持的微信支付方式: {0}", + "accessTokenLockFailed": "獲取AccessToken失敗:無法獲取分佈式鎖", + "refreshAccessTokenFailed": "刷新AccessToken失敗: {0}", + "refreshAccessTokenEmpty": "刷新AccessToken失敗:返回的Token為空", + "isvKeyNotConfigured": "微信服務商密鑰未配置或不完整,請先完成服務商密鑰配置", + "authUrlFailed": "獲取授權鏈接失敗: {0}", + "authFailed": "獲取用户標識(openId)失敗: {0}", + "opAppIdNotFound": "指定的應用AppId[{0}]未在系統中配置" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/common.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/common.json new file mode 100644 index 000000000..6f804a666 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/common.json @@ -0,0 +1,45 @@ +{ + "system": "系統錯誤", + "authFail": "認證失敗", + "notFound": "資源不存在", + "dataNotExist": "數據不存在", + "validateParams": "參數驗證失敗: {0}", + "parseParams": "參數處理失敗", + "unsupportedOperate": "不支持的操作", + "repetitiveOperation": "重複操作", + "dangerSql": "檢測到危險SQL", + "dangerSqlWithValue": "請注意,值可能存在SQL注入風險!--->{0}", + "rsaPrivateKeyParseFailed": "私鑰解析失敗,需要為 PKCS#8 格式的Rsa私鑰", + "rsaPublicKeyParseFailed": "公鑰解析失敗,需要為 PKCS#8 格式的Rsa公鑰", + "internalForbidden": "內部接口不允許普通用户進行調用", + "dbTypeNotFound": "獲取數據庫類型失敗", + "nonceMissing": "請求缺少防重放驗證參數", + "nonceInvalid": "請求驗證已失效,請重試", + "timestampExpired": "請求時間戳已過期,請重試", + "translateColumnNotFound": "實體類 {0} 中未找到屬性 {1} 的列映射", + "enumUnknown": "未知類型: {0}", + "fileOperationFailed": "文件操作失敗: {0}", + "payStatusNotExist": "該支付狀態不存在", + "payEnvNotExist": "支付環境不存在", + "tradeTypeNotExist": "交易類型不存在: {0}", + "tradeStatusNotExist": "交易狀態不存在: {0}", + "refundStatusNotExist": "退款狀態不存在: {0}", + "payRefundStatusNotExist": "該退款狀態不存在: {0}", + "payCallTypeNotSupported": "不支持的收銀台類型: {0}", + "channelAuthTypeNotExist": "認證類型不存在: {0}", + "mchAppStatusNotFound": "未找到對應的商户應用狀態類型: {0}", + "storeStatusNotFound": "未找到對應的門店狀態類型: {0}", + "backendBaseUrlNotConfigured": "平台後端訪問地址(backendBaseUrl)未配置, 無法生成回調地址", + "requestContextMissing": "無法獲取請求上下文", + "gatewayUrlNotConfigured": "支付網關前端地址(paymentGatewayBaseUrl)未配置, 無法生成認證回調地址", + "cashierSceneNotExist": "收銀場景不存在: {0}", + "gatewayPayTypeNotExist": "網關支付類型不存在: {0}", + "aggregateConfigLevelNotExist": "聚合掃碼配置深度不存在: {0}", + "gatewayCashierTypeNotExist": "收銀台類型不存在: {0}", + "cashierItemResolveModeNotExist": "收銀台支付項解析模式不存在: {0}", + "currencyNotExist": "幣種不存在: {0}", + "payTradeTypeNotExist": "資金交易形態不存在: {0}", + "payFundStatusNotExist": "資金交易狀態不存在: {0}", + "normalOrderStatusNotExist": "普通支付訂單狀態不存在: {0}", + "gatewayOrderStatusNotExist": "網關支付訂單狀態不存在: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/demo.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/demo.json new file mode 100644 index 000000000..f5caf139d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/demo.json @@ -0,0 +1,3 @@ +{ + "delaySecondsRequired": "DELAY 場景下延時秒數不能為空" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/device/qrcode.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/device/qrcode.json new file mode 100644 index 000000000..9850db413 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/device/qrcode.json @@ -0,0 +1,11 @@ +{ + "notFound": "碼牌不存在", + "disabled": "碼牌已停用", + "mchNotFound": "碼牌所屬商户不存在", + "amountTypeNotFound": "未找到對應的碼牌金額類型: {0}", + "statusNotFound": "未找到對應的碼牌狀態: {0}", + "fixedAmountInvalid": "固定金額必須大於0", + "batchNoExists": "批次號已存在", + "notAssigned": "碼牌未分配商户", + "idsEmpty": "請選擇碼牌" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/file.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/file.json new file mode 100644 index 000000000..c1e027f89 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/file.json @@ -0,0 +1,10 @@ +{ + "storageConfigNotExist": "存儲配置不存在", + "recordNotExist": "文件記錄不存在", + "platformRecordNotExist": "平台文件記錄不存在", + "statusInvalidForConfirm": "文件狀態不正確,無法確認", + "objectKeyMismatch": "對象Key不匹配", + "notUploadedToStorage": "文件尚未上傳到存儲", + "notUploadedForAccess": "文件未上傳完成,無法訪問", + "notUploadedForDownload": "文件未上傳完成,無法下載" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/assign.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/assign.json new file mode 100644 index 000000000..17e86cca5 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/assign.json @@ -0,0 +1,7 @@ +{ + "roleClientMismatch": "角色所屬終端與請求終端不一致", + "invalidMenuData": "存在無效的菜單數據", + "roleMenuClientMismatch": "角色所屬終端與菜單終端不一致", + "invalidPermCodeData": "存在無效的權限碼數據", + "permCodeNotOnSelectedMenus": "存在未掛載到已選菜單的權限碼: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/menu.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/menu.json new file mode 100644 index 000000000..88941e8f9 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/menu.json @@ -0,0 +1,18 @@ +{ + "codeExists": "菜單編碼已存在", + "cycleDependency": "上級菜單不能是自身或下級菜單", + "subpageNoChildren": "子頁面不能有下級菜單", + "hasChildrenCannotDelete": "有子菜單不可以刪除", + "invalidType": "無效的菜單類型", + "typeImmutable": "菜單類型創建後不可修改", + "subpageNeedParent": "子頁面必須選擇上級菜單", + "parentNotExist": "上級菜單不存在", + "subpageParentMustBeMenu": "子頁面的上級菜單必須是菜單類型", + "subpageParentInvalid": "子頁面的上級必須是菜單或子頁面分組", + "subpageGroupNeedParent": "子頁面分組必須選擇上級菜單", + "subpageGroupParentMustBeMenu": "子頁面分組的上級必須是菜單類型", + "subpageGroupChildMustBeSubpage": "子頁面分組下只能包含子頁面", + "needParentCatalog": "菜單、內嵌頁面、外鏈必須選擇上級目錄", + "parentMustBeCatalog": "菜單、內嵌頁面、外鏈的上級菜單必須是目錄類型", + "notExist": "菜單不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/password.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/password.json new file mode 100644 index 000000000..979f7ce7c --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/password.json @@ -0,0 +1,12 @@ +{ + "invalid": "用户密碼不正確", + "notBlank": "密碼不能為空", + "noChinese": "密碼不能包含中文字符", + "minLength": "密碼長度不能小於{0}位", + "maxLength": "密碼長度不能大於{0}位", + "requireUppercase": "密碼必須包含大寫字母", + "requireLowercase": "密碼必須包含小寫字母", + "requireDigit": "密碼必須包含數字", + "requireSpecialChar": "密碼必須包含特殊字符", + "historyDuplicate": "新密碼不能與最近{0}次使用過的密碼相同" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/perm.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/perm.json new file mode 100644 index 000000000..f6f8ae5ea --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/perm.json @@ -0,0 +1,6 @@ +{ + "codeDefinitionConflict": "同一權限碼定義衝突: {0}", + "codeNotConfigured": "存在未配置 code 的權限碼聲明", + "nameCnNotConfigured": "存在未配置 nameCn 的權限碼聲明", + "nameEnNotConfigured": "存在未配置 nameEn 的權限碼聲明" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/role.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/role.json new file mode 100644 index 000000000..d9cc4effe --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/role.json @@ -0,0 +1,10 @@ +{ + "roleNotExisted": "角色不存在", + "roleAlreadyUsed": "該角色下分配了用户,無法刪除", + "roleAlreadyExisted": "角色已經存在", + "permissionDbError": "用户沒有權限", + "internalCannotDelete": "內置角色不允許刪除", + "assignOutOfScope": "角色分配超出了可分配的範圍", + "assignCrossClient": "禁止為用户分配跨終端角色:用户歸屬終端[{0}],角色歸屬終端[{1}]", + "notExist": "角色不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/session.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/session.json new file mode 100644 index 000000000..ab4dadb03 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/session.json @@ -0,0 +1,6 @@ +{ + "sessionNotExistOrExpired": "會話不存在或已過期", + "invalidSessionId": "無效的會話ID", + "cannotKickoutAdmin": "不允許強制超級管理員下線", + "kickoutFailed": "強制用户下線失敗: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/twoFactor.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/twoFactor.json new file mode 100644 index 000000000..9f3f40310 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/twoFactor.json @@ -0,0 +1,6 @@ +{ + "platformDisabled": "平台未啓用雙因素認證", + "alreadyBound": "已綁定雙因素認證, 無需重複操作", + "notBound": "未綁定雙因素認證", + "codeError": "動態碼錯誤" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/user.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/user.json new file mode 100644 index 000000000..b98402ba1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/iam/user.json @@ -0,0 +1,16 @@ +{ + "userInfoNotExists": "用户信息不存在", + "userPhoneAlreadyExisted": "用户手機已存在", + "userNonePhoneAndEmail": "用户的電話和電子郵件必須包含一個", + "oldPasswordError": "舊密碼錯誤", + "accountExistsInClient": "該終端下賬號已存在", + "phoneUsedInClient": "該終端下手機號已被使用", + "emailUsedInClient": "該終端下郵箱已被使用", + "phoneUsedByOtherInClient": "該終端下手機號已被其他用户使用", + "emailUsedByOtherInClient": "該終端下郵箱已被其他用户使用", + "dataError": "用户數據有問題", + "notExist": "用户不存在", + "cannotEditNonAdmin": "不允許編輯非運營端用户", + "emailUsedByOther": "郵箱已被其他用户使用", + "phoneUsedByOther": "手機號已被其他用户使用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/mobile_app.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/mobile_app.json new file mode 100644 index 000000000..63586dc71 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/mobile_app.json @@ -0,0 +1,10 @@ +{ + "notExist": "移動端應用配置不存在", + "notEnabled": "移動端應用配置未啓用: {0}/{1}", + "appTypeNotFound": "未找到對應的移動端應用端類型: {0}", + "platformNotFound": "未找到對應的移動端平台: {0}", + "platformNotAllowed": "端類型 {0} 不支持移動平台 {1}", + "configRequired": "請提交與平台 {0} 對應的應用配置", + "configPlatformMismatch": "應用配置與平台 {0} 不匹配", + "alipayCertRequired": "證書模式下請上傳應用公鑰證書、支付寶公鑰證書與根證書" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/notify/notice.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/notify/notice.json new file mode 100644 index 000000000..c8030c723 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/notify/notice.json @@ -0,0 +1,3 @@ +{ + "notExist": "公告不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/capability.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/capability.json new file mode 100644 index 000000000..24ff02c65 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/capability.json @@ -0,0 +1,5 @@ +{ + "notExist": "支付能力不存在", + "duplicateProduct": "關聯支付產品不可重複", + "productNotExist": "支付產品不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/channel.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/channel.json new file mode 100644 index 000000000..1f2e775d7 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/channel.json @@ -0,0 +1,10 @@ +{ + "notExist": "支付通道不存在", + "subMchNoExists": "系統中已存在該子商户號", + "merchantNoChannelPerm": "商户沒有該通道的權限,無法添加通道商户", + "channelMerchantExists": "系統中已存在該通道商户信息,不要重複添加", + "onlyDraftCanDelete": "非草稿狀態,不能刪除", + "signVerifyFailIllegal": "簽名驗證失敗,非法請求", + "channelMerchantNotExist": "通道商户信息不存在", + "merchantInfoNotFound": "未查詢到商户信息" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/login.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/login.json new file mode 100644 index 000000000..86a9904d3 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/login.json @@ -0,0 +1,5 @@ +{ + "mchDisabled": "該商户已禁用", + "noAdminPermUseMerchant": "您沒有運營端的權限,請使用商户端登錄", + "noMerchantPerm": "您沒有商户端的登錄權限" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/merchant.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/merchant.json new file mode 100644 index 000000000..bc4ef6c7d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/merchant.json @@ -0,0 +1,33 @@ +{ + "mchNoGenFailed": "商户號生成失敗", + "accountOrPhoneNotFound": "未找到該賬號或綁定手機信息", + "accountOrPhoneError": "賬號或手機號信息不正確", + "dataErrorNoMchNo": "數據錯誤, 未發現商户號", + "mchNotExist": "商户信息不存在", + "mchAppNotFound": "商户應用未找到", + "appNoGenFailed": "應用號生成失敗", + "mchAppNoMatch": "商户和應用號不匹配", + "mchNotAllowDelete": "商户不允許刪除", + "cannotOperateCurrentUser": "無法對當前用户進行操作", + "merchantNotExist": "商户不存在", + "accountExists": "該賬號已存在", + "mchUserRelationNotExist": "商户用户關聯信息不存在", + "defaultAppNotConfigured": "商户未配置默認應用", + "defaultAppConfigNotFound": "未找到商户默認應用配置", + "specifiedAppConfigNotFound": "未找到指定的應用配置", + "specifiedMchConfigNotFound": "未找到指定的商户配置", + "adminRoleNotExist": "商户管理員角色不存在, 請檢查", + "apiConfigNotExist": "商户API配置不存在", + "storeNotFound": "門店信息不存在", + "storeNoGenFailed": "門店號生成失敗", + "storeNoMatch": "門店不屬於當前商户", + "wxVerifyNotFound": "微信域名驗證文件不存在", + "wxVerifyFileNameEmpty": "微信域名驗證文件名為空", + "wxVerifyFileNameInvalid": "微信域名驗證文件名格式不正確,應為 MP_verify_隨機字符串.txt", + "wxVerifyFileReadFailed": "微信域名驗證文件讀取失敗", + "wxVerifyFileContentEmpty": "微信域名驗證文件內容為空", + "wxVerifyFileContentTooLong": "微信域名驗證文件內容過長", + "wxVerifyCodeDuplicate": "該驗證文件已存在,請勿重複上傳", + "wxVerifyUploadNotSupported": "當前終端不支持上傳微信域名驗證文件", + "wxVerifyNoMatch": "微信域名驗證文件不屬於當前商户" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/method.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/method.json new file mode 100644 index 000000000..be38f4840 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/method.json @@ -0,0 +1,5 @@ +{ + "notExist": "支付方式不存在", + "duplicateProvider": "關聯支付渠道不可重複", + "providerNotExist": "支付渠道不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/order.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/order.json new file mode 100644 index 000000000..c4aae8c40 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/order.json @@ -0,0 +1,12 @@ +{ + "unsupportedBarcodeType": "不支持的條碼類型", + "merchantNoRefundPermission": "該商户沒有退款權限", + "payOrderNotExist": "支付訂單不存在", + "payOrderExtNotExist": "支付訂單擴展信息不存在", + "refundOrderNotExist": "退款訂單不存在", + "refundOrderExtNotExist": "退款訂單擴展信息不存在", + "refundPayOrderNotExist": "退款訂單關聯支付訂單不存在", + "tradeFlowNotExist": "交易流水記錄不存在", + "callbackTaskNotExist": "商户回調通知任務不存在", + "subscribeRecordNotExist": "商户訂閲通知記錄不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/product.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/product.json new file mode 100644 index 000000000..9e242fc97 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/payment/product.json @@ -0,0 +1,5 @@ +{ + "notExist": "支付產品不存在", + "duplicateCapability": "支付能力編碼重複", + "capabilityNotExist": "支付能力不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/dict.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/dict.json new file mode 100644 index 000000000..786aac7d2 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/dict.json @@ -0,0 +1,7 @@ +{ + "codeExists": "字典編碼已存在", + "notExist": "字典不存在", + "hasItems": "字典下有字典項,不能刪除", + "itemCodeDuplicate": "字典項編碼重複", + "itemNotExist": "字典項不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/oss.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/oss.json new file mode 100644 index 000000000..763260570 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/oss.json @@ -0,0 +1,8 @@ +{ + "incomplete": "OSS 配置不完整, 請填寫服務端點、存儲桶與密鑰", + "checkSuccess": "OSS 連通性檢查通過", + "checkFailed": "OSS 連通性檢查失敗, 狀態碼: {0}", + "authFailed": "OSS 認證失敗, 請檢查 AccessKey / SecretKey", + "bucketNotFound": "存儲桶不存在, 請檢查公開/私有桶名稱", + "networkError": "無法連接對象存儲, 請檢查端點與網絡" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/protocol.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/protocol.json new file mode 100644 index 000000000..d7f06eba1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/protocol.json @@ -0,0 +1,12 @@ +{ + "defaultCannotDelete": "默認協議不可刪除", + "notExist": "用户協議不存在", + "itemNotExist": "用户協議項不存在", + "defaultItemNotExist": "該類型下不存在默認協議", + "versionNotExist": "用户協議版本不存在", + "draftOnlyCanEdit": "僅草稿狀態的版本可編輯", + "draftOnlyCanDelete": "僅草稿狀態的版本可刪除", + "draftOnlyCanPublish": "僅草稿狀態的版本可發佈", + "publishedOnlyCanArchive": "僅已發佈狀態的版本可歸檔", + "sameClientType": "目標端類型與源端類型一致" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/url.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/url.json new file mode 100644 index 000000000..bb7bc2623 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/error/system/url.json @@ -0,0 +1,7 @@ +{ + "notConfigured": "訪問地址未配置", + "checkSuccess": "連通性檢查通過", + "checkFailed": "連通性檢查失敗, HTTP 狀態碼: {0}", + "echoMismatch": "連通性檢查失敗, 後端 echo 響應不符合預期", + "networkError": "網絡不通, 請檢查地址是否正確或服務是否可達" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/log.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/log.json new file mode 100644 index 000000000..023120447 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/log.json @@ -0,0 +1,13 @@ +{ + "pay": { + "create": "創建支付訂單,訂單號:{0},金額:{1}", + "success": "支付成功,訂單號:{0},金額:{1}", + "close": "支付關閉,訂單號:{0}", + "fail": "支付失敗,訂單號:{0},原因:{1}" + }, + "refund": { + "create": "創建退款,訂單號:{0},退款金額:{1}", + "success": "退款成功,訂單號:{0}", + "fail": "退款失敗,訂單號:{0},原因:{1}" + } +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/notification.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/notification.json new file mode 100644 index 000000000..4a4b6a8f1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/notification.json @@ -0,0 +1,6 @@ +{ + "paySuccessTitle": "支付成功通知", + "paySuccessBody": "您的訂單 {0} 已支付成功,金額 {1}", + "refundSuccessTitle": "退款成功通知", + "refundSuccessBody": "您的訂單 {0} 已退款成功,金額 {1}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/env.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/env.json new file mode 100644 index 000000000..2bfa225bf --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/env.json @@ -0,0 +1,3 @@ +{ + "sandboxDisabled": "沙箱環境已被系統關閉,無法切換" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/error.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/error.json new file mode 100644 index 000000000..979fc3e14 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/error.json @@ -0,0 +1,111 @@ +{ + "payFailure": "支付失敗", + "timeout": "支付超時,訂單號:{0}", + "notExists": "交易不存在", + "closed": "交易已關閉", + "processing": "交易處理中,請勿重複操作", + "statusError": "交易狀態錯誤", + "failed": "交易失敗", + "channelNotExist": "不存在的支付通道", + "channelNotEnable": "支付通道未啓用", + "unsupportedAbility": "不支持該能力", + "unsupportedAbilityWithDetail": "不支持的能力: {0}", + "amount": { + "exceed": "金額超限", + "invalid": "金額無效" + }, + "signVerifyFail": "驗籤失敗", + "operateFailed": "操作失敗", + "operateProcessing": "操作處理中", + "dataError": "數據錯誤", + "unknown": "未知異常", + "unsupportedOperate": "不支持的操作", + "configNotExist": "配置不存在", + "configNotEnable": "配置未啓用", + "configError": "配置錯誤", + "systemUnknown": "未知異常,系統無法處理", + "unsupportedPayMethod": "不支持的支付方式: {0}", + "methodNotExist": "不存在的支付方式", + "methodNotEnable": "支付方式未啓用", + "otherMethodRequired": "其他支付方法不能為空", + "orderNoRequired": "支付訂單號不能都為空", + "pay": { + "timeoutRetry": "支付已超時,請重新確認支付狀態", + "alreadySuccess": "已經支付成功,請勿重新支付", + "failedOrClosed": "該訂單支付失敗或已經被關閉", + "refunding": "該訂單處於退款狀態", + "statusAbnormal": "訂單支付狀態異常,請重新確認訂單狀態", + "expiredTimeError": "支付超時時間設置有誤, 請檢查!", + "closeNotPaying": "訂單不是支付中, 無法進行關閉訂單", + "closeProcessing": "支付訂單已在關閉中,請勿重複發起", + "closeFailed": "關閉訂單失敗", + "syncNotStarted": "訂單未開始支付, 請重新確認支付狀態", + "syncProcessing": "支付同步處理中,請勿重複操作", + "processing": "支付處理中,請勿重複操作" + }, + "gateway": { + "cashierNotReady": "收銀台支付尚未開放", + "typeMismatch": "網關訂單類型不匹配", + "sceneNotSupport": "不支持的收銀場景", + "sceneNotConfigured": "該場景未配置支付方式", + "aggregateConfigMissing": "應用未配置聚合掃碼支付", + "aggregateScenesRequired": "當前配置深度下場景配置不能為空", + "aggregateSceneBlank": "場景編碼不能為空", + "aggregateSceneMethodRequired": "指定支付方式時,每個打開環境的支付方式必填", + "aggregateSceneChannelMchRequired": "指定通道商户時,每個打開環境的通道商户號必填", + "aggregateSceneCapabilityRequired": "指定通道商户時,每個打開環境的支付能力必填", + "channelLocked": "訂單已鎖定支付方式,請勿切換", + "cashierSceneRequired": "H5收銀台必須指定終端場景", + "cashierItemNotFound": "收銀台支付項不存在", + "cashierItemAppIdImmutable": "收銀台支付項應用號不可修改", + "cashierItemMethodRequired": "指定支付方式時支付方式必填", + "cashierItemChannelMchRequired": "指定通道商户時通道商户號必填", + "cashierItemCapabilityRequired": "指定通道商户時支付能力必填", + "cashierItemNameRequired": "支付項名稱不能為空" + }, + "refund": { + "processing": "退款處理中,請勿重複操作", + "onlyFailRetry": "只有失敗狀態的才可以重新發起退款", + "statusNotAllow": "當前支付單狀態[{0}]不允許發起退款操作", + "refundStatusNotAllow": "當前支付單退款狀態[{0}]不允許發起退款操作", + "noDuplicate": "退款單號已存在", + "amountExceed": "退款金額不能大於支付金額", + "orderNotFound": "未查詢到退款訂單", + "syncProcessing": "退款同步處理中,請勿重複操作", + "noPermission": "該商户沒有退款權限" + }, + "callback": { + "processing": "回調正在處理中,忽略本次回調請求", + "payNotFound": "支付單不存在,記錄回調記錄", + "timeout": "回調時間超出了支付單支付有效時間", + "payAlreadySuccess": "支付單已經是支付成功狀態,不進行處理", + "payNotWaiting": "支付單不是待支付狀態,記錄回調記錄", + "payCancelled": "支付單已經取消,記錄回調記錄", + "payStatusIllegal": "支付單狀態非法,支付網關狀態為失敗,但支付單狀態為已完成", + "refundNotFound": "退款單不存在,記錄回調記錄", + "refundAlreadyProcessed": "退款單狀態已處理,記錄回調記錄", + "transferNotFound": "轉賬單不存在,記錄回調記錄", + "transferAlreadyProcessed": "轉賬單狀態已處理,記錄回調記錄" + }, + "assist": { + "mchPublicKeyEmpty": "商户公鑰為空", + "privateKeyEmpty": "商户私鑰為空", + "signEmpty": "簽名為空", + "mchNoAppNoMatch": "商户號和應用號不匹配", + "mchNotOwnApp": "該商户不擁有該應用", + "mchNotEnabled": "商户未啓用", + "mchAppNotEnabled": "商户應用未啓用", + "wechatAuthFail": "微信認證失敗: {0}", + "wechatAuthConfigError": "微信認證配置錯誤: {0}", + "wechatMiniAuthConfigError": "微信小程序認證配置錯誤: {0}", + "signVerifyFailDetail": "驗籤失敗: {0}", + "productOrChannelMchRequired": "支付產品與通道商户號至少傳入其一", + "channelMchNotFound": "通道商户[{0}]不存在", + "mchContextMissing": "商户上下文未裝載,無法進行數據隔離操作" + }, + "verify": { + "methodParamRequired": "支付方法至少有一個參數,並且需要簽名的支付參數放在第一位", + "paramExtendRequired": "參數需要繼承MerchantPaymentCommonParam", + "returnTypeRequired": "支付方法返回類型需要為 DaxResult 類型的對象" + } +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/route/error.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/route/error.json new file mode 100644 index 000000000..e2cb9e47a --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/pay/route/error.json @@ -0,0 +1,25 @@ +{ + "strategyNotFound": "應用未配置通道路由策略", + "noMatch": "未匹配到可用支付產品", + "methodRequired": "通道路由下支付方式不能為空", + "providerRequired": "未指定支付產品時,支付渠道不能為空", + "methodRequiredWhenProductSet": "指定支付產品時,支付方式不能為空", + "basicProviderInvalid": "支付渠道無效", + "basicProductNotAvailable": "支付渠道[{0}]下無可用支付產品,請檢查商户產品、通道商户及應用通道配置", + "scenePayProviderRequiredForMethod": "非通用支付方式[{0}]須指定支付渠道", + "sceneMethodRequired": "按支付方式配置時須選擇支付方式", + "sceneMethodProductMismatch": "支付方式[{0}]與產品[{1}]不匹配", + "sceneCapabilityRequired": "按支付方式配置時須選擇支付能力", + "sceneCapabilityProductMismatch": "支付能力[{0}]與產品[{1}]、支付方式[{2}]不匹配", + "productStrategyMissing": "支付產品策略不存在", + "routeStrategyNotExist": "通道路由策略不存在", + "routeModeNotExist": "通道路由配置維度不存在: {0}", + "channelMchNoRequired": "通道商户號不能為空", + "channelMchNotExist": "通道商户號[{0}]不存在", + "channelMchDisabled": "通道商户號[{0}]未啓用", + "duplicateSceneMethod": "按支付方式配置下同一支付方式[{0}]存在多條配置", + "sceneChannelMchCapabilityPair": "支付方式[{0}]須同時選擇通道商户與支付能力,或同時留空", + "basicChannelMchNotConfigured": "支付渠道[{0}]未配置通道商户,請在通道路由「按渠道默認」中完成配置", + "sceneCapabilityChannelMchMismatch": "支付能力[{0}]與通道商户[{1}]、支付方式[{2}]不匹配", + "directCapabilityChannelMchMismatch": "支付能力[{0}]與通道商户[{1}]不匹配" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/validation.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/validation.json new file mode 100644 index 000000000..d4e2b220f --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-HK/validation.json @@ -0,0 +1,744 @@ +{ + "notBlank": "{0}不能為空", + "notEmpty": "{0}不能為空", + "lengthRange": "{0}長度必須在{1}到{2}之間", + "min": "{0}不能小於{1}", + "max": "{0}不能大於{1}", + "parameterError": "參數校驗失敗", + "field": { + "source": { + "notBlank": "平台不能為空" + }, + "clientId": { + "notBlank": "客户端ID不能為空" + }, + "clientSecret": { + "notBlank": "客户端密鑰不能為空" + }, + "clientKey": { + "notBlank": "Client Key不能為空" + }, + "clientCode": { + "notBlank": "終端編碼不可為空" + }, + "ip": { + "notValid": "IP地址不合法" + }, + "aliAppId": { + "notBlank": "支付寶商户appId不可為空" + }, + "authType": { + "notBlank": "認證類型不可為空" + }, + "signType": { + "notBlank": "簽名類型不可為空" + }, + "alipayPublicKey": { + "notBlank": "支付寶公鑰不可為空" + }, + "mchAppPrivateKey": { + "notBlank": "應用私鑰不可為空" + }, + "appSecret": { + "size": "應用密鑰不可超過512位" + }, + "douyinMchId": { + "notBlank": "抖音商户號不可為空" + }, + "userIdType": { + "notBlank": "用户標識類型不可為空" + }, + "product": { + "notBlank": "產品編碼不可為空", + "size": "支付產品不可超過32位", + "notNull": "支付產品必填" + }, + "channel": { + "notBlank": "通道編碼不可為空", + "size": "通道不可超過32位" + }, + "sandbox": { + "notNull": "沙箱環境不可為空" + }, + "enable": { + "notNull": "是否啓用不可為空" + }, + "mchNo": { + "notBlank": "商户號不可為空", + "size": "商户號不可超過32位", + "notNull": "商户號不可為空" + }, + "appId": { + "notBlank": "商户AppId不可為空", + "size": "應用號不可超過32位", + "notNull": "應用ID不可為空" + }, + "channelMchNo": { + "size": "通道商户號不可超過32位", + "notBlank": "通道商户號不可為空" + }, + "level": { + "notBlank": "配置深度不可為空", + "size": "配置深度不可超過32位" + }, + "cashierType": { + "notBlank": "收銀台類型不可為空", + "size": "收銀台類型不可超過16位" + }, + "resolveMode": { + "notBlank": "解析模式不可為空", + "size": "解析模式不可超過16位" + }, + "icon": { + "size": "圖標編碼不可超過32位" + }, + "itemName": { + "size": "支付項名稱不可超過64位" + }, + "subMchId": { + "notBlank": "微信子商户號不可為空" + }, + "wxMchId": { + "notBlank": "微信商户Id不可為空" + }, + "wxAppId": { + "notBlank": "微信應用AppId不可為空" + }, + "publicKeyId": { + "notBlank": "支付公鑰ID不可為空" + }, + "certSerialNo": { + "notBlank": "證書序列號不可為空" + }, + "id": { + "notNull": "主鍵不可為空", + "mustBeNullOnAdd": "Id需要為空" + }, + "alipayIsvAppId": { + "notNull": "支付寶服務商應用ID不可為空" + }, + "alipayDirectAppId": { + "notNull": "支付寶直連應用ID不可為空" + }, + "wechatIsvAppId": { + "notNull": "微信服務商應用ID不可為空" + }, + "account": { + "notBlank": "登錄賬號不可為空", + "size": "賬號長度為6-20個字符", + "pattern": "賬號只能包含字母、數字、下劃線和中劃線" + }, + "password": { + "notBlank": "密碼不可為空" + }, + "subjectType": { + "notBlank": "主體類型不可為空" + }, + "pass": { + "notNull": "審核結果不可為空" + }, + "channelMerchantNo": { + "notBlank": "通道商户號不可為空" + }, + "channelMerchantName": { + "notBlank": "商户名稱不可為空" + }, + "appKey": { + "notBlank": "應用密鑰不可為空" + }, + "secretKey": { + "notBlank": "通訊密鑰不可為空" + }, + "tradeIdentity": { + "notBlank": "商户交易標識不可為空" + }, + "subMchNo": { + "notBlank": "子商户號不可為空" + }, + "parentMchNo": { + "notBlank": "父級通道商户號不可為空" + }, + "subMchName": { + "notBlank": "子商户名稱不可為空" + }, + "orderNo": { + "notBlank": "支付訂單號不可為空", + "size": "支付訂單號不可超過100位" + }, + "amount": { + "notNull": "支付金額不可為空", + "min": "支付金額不能小於1分", + "max": "支付金額不能大於一億元", + "positive": "金額必須大於0" + }, + "title": { + "notBlank": "名稱不可為空", + "size": "支付標題不可超過100位" + }, + "date": { + "notNull": "日期不可為空" + }, + "fileType": { + "notNull": "文件類型不能為空" + }, + "authCode": { + "notBlank": "標識碼不可為空", + "size": "付款碼不可超過128位" + }, + "clientIp": { + "size": "客户端ip不可超過64位" + }, + "nonceStr": { + "size": "隨機數不可超過32位" + }, + "sign": { + "size": "簽名不可超過1024位" + }, + "reqTime": { + "notNull": "請求時間必填" + }, + "bizOrderNo": { + "size": "商户支付訂單號不可超過100位", + "notBlank": "商户訂單號不可為空" + }, + "description": { + "size": "支付描述不可超過50位", + "notBlank": "支付描述不能為空" + }, + "method": { + "notBlank": "支付方式不可為空", + "size": "支付方式編碼不可超過32位", + "notNull": "支付方式不能為空" + }, + "capability": { + "size": "支付能力編碼不可超過32位", + "notBlank": "支付能力編碼不可為空" + }, + "provider": { + "notBlank": "支付渠道不可為空", + "size": "支付渠道編碼不可超過32位" + }, + "otherMethod": { + "size": "支付方式編碼不可超過128位" + }, + "limitPay": { + "size": "限制用户支付類型不能超過128位" + }, + "opAppId": { + "size": "opAppId不可超過128位" + }, + "openId": { + "size": "用户標識不可超過128位" + }, + "terminalNo": { + "size": "終端設備編碼不可超過128位" + }, + "extraParam": { + "size": "支付擴展參數不可超過2048位" + }, + "goodsDetail": { + "size": "商品明細列表不可超過50條" + }, + "goodsId": { + "notBlank": "商品編碼不可為空", + "size": "商品編碼不可超過64位" + }, + "goodsName": { + "notBlank": "商品名稱不可為空", + "size": "商品名稱不可超過256位" + }, + "quantity": { + "notNull": "商品數量不可為空", + "min": "商品數量不能小於1" + }, + "unitPrice": { + "notNull": "商品單價不可為空", + "min": "商品單價不能小於1分", + "max": "商品單價不能大於一億元" + }, + "goodsCategory": { + "size": "商品分類不可超過32位" + }, + "goodsDescription": { + "size": "商品描述不可超過1000位" + }, + "showUrl": { + "size": "商品展示鏈接不可超過400位" + }, + "attach": { + "size": "商户擴展參數不可超過500位" + }, + "returnUrl": { + "size": "同步通知URL不可超過200位" + }, + "quitUrl": { + "size": "退出地址不可超過200位" + }, + "notifyUrl": { + "size": "異步通知地址不可超過200位" + }, + "outOrderNo": { + "size": "通道支付訂單號不可超過150位", + "notBlank": "通道支付訂單號不能為空" + }, + "refundNo": { + "notBlank": "退款號不可為空", + "size": "退款號不可超過100位" + }, + "bizRefundNo": { + "size": "商户退款號不可超過100位", + "notBlank": "商户退款號不可為空" + }, + "reason": { + "size": "退款原因不可超過50位" + }, + "payeeName": { + "size": "收款人姓名不可超過50位" + }, + "items": { + "notEmpty": "產品配置列表不可為空" + }, + "shortName": { + "notBlank": "簡稱不能為空" + }, + "status": { + "notBlank": "狀態不可為空" + }, + "accountType": { + "notBlank": "賬户類型不可為空" + }, + "appAuthToken": { + "notBlank": "應用授權令牌不可為空" + }, + "isvAppId": { + "notBlank": "支付寶應用不可為空" + }, + "alipayUserId": { + "notBlank": "子商户號不可為空" + }, + "accountName": { + "notBlank": "銀行卡賬户名不可為空" + }, + "cardNo": { + "notBlank": "銀行卡號不可為空" + }, + "bankName": { + "notBlank": "開户行名稱不可為空" + }, + "cardFrontPic": { + "notBlank": "銀行卡正面照片不可為空" + }, + "legalName": { + "notBlank": "法人姓名不可為空" + }, + "certNo": { + "notBlank": "身份證號不可為空" + }, + "frontPic": { + "notBlank": "身份證人像面照片不可為空" + }, + "backPic": { + "notBlank": "身份證國徽面照片不可為空" + }, + "licenseNo": { + "notBlank": "營業執照號不可為空" + }, + "licenseName": { + "notBlank": "營業執照名稱不可為空" + }, + "licensePic": { + "notBlank": "營業執照照片不可為空" + }, + "appName": { + "notBlank": "應用名稱不可為空", + "notNull": "應用名稱不可為空" + }, + "appType": { + "notBlank": "應用類型不可為空" + }, + "platform": { + "notBlank": "移動平台不可為空" + }, + "authAppType": { + "notBlank": "認證應用類型不可為空" + }, + "mchName": { + "notBlank": "商户名稱不可為空" + }, + "mchShortName": { + "notBlank": "商户簡稱不可為空" + }, + "publicKey": { + "notBlank": "平台公鑰不能為空,請配置 daxpay.platform.config.key-config.public-key" + }, + "privateKey": { + "notBlank": "平台私鑰不能為空,請配置 daxpay.platform.config.key-config.private-key" + }, + "phone": { + "notBlank": "手機號不能為空", + "format": "手機號格式不正確" + }, + "roleId": { + "notNull": "角色ID不可為空" + }, + "code": { + "notBlank": "編碼不可為空" + }, + "nameCn": { + "notBlank": "中文名稱不可為空" + }, + "nameEn": { + "notBlank": "英文名稱不可為空" + }, + "menuCode": { + "notBlank": "菜單編碼不可為空" + }, + "titleCn": { + "notBlank": "菜單標題-中文不可為空" + }, + "titleEn": { + "notBlank": "菜單標題-英文不可為空" + }, + "i18nKey": { + "notBlank": "國際化key不可為空" + }, + "userIds": { + "notEmpty": "用户集合不能為空" + }, + "userId": { + "notNull": "用户 ID 不能為空" + }, + "newPassword": { + "notBlank": "新密碼不能為空" + }, + "configName": { + "notBlank": "配置名稱不能為空" + }, + "endpoint": { + "notBlank": "服務端點不能為空" + }, + "publicBucket": { + "notBlank": "公開存儲桶不能為空" + }, + "privateBucket": { + "notBlank": "私有存儲桶不能為空" + }, + "urlType": { + "notBlank": "端點類型不能為空" + }, + "systemName": { + "size": "系統名稱長度不能超過{max}個字符" + }, + "companyName": { + "size": "公司全稱長度不能超過{max}個字符" + }, + "companyEmail": { + "email": "郵箱格式不正確" + }, + "companyWechat": { + "size": "微信號長度不能超過{max}個字符" + }, + "copyright": { + "size": "版權信息長度不能超過{max}個字符" + }, + "icpLink": { + "pattern": "鏈接必須以 http:// 或 https:// 開頭" + }, + "mpsLink": { + "pattern": "鏈接必須以 http:// 或 https:// 開頭" + }, + "pcacLink": { + "pattern": "鏈接必須以 http:// 或 https:// 開頭" + }, + "icpPlusLink": { + "pattern": "鏈接必須以 http:// 或 https:// 開頭" + }, + "dictId": { + "notNull": "字典ID不可為空" + }, + "protocolId": { + "notNull": "協議id不能為空" + }, + "content": { + "notBlank": "協議內容不能為空" + }, + "showName": { + "notBlank": "顯示名稱不能為空" + }, + "type": { + "notBlank": "類型不能為空" + }, + "clientType": { + "notBlank": "端類型不能為空" + }, + "language": { + "notBlank": "語言不能為空" + }, + "email": { + "notBlank": "郵箱不可為空", + "format": "郵箱格式不正確" + }, + "realName": { + "notBlank": "姓名不可為空" + }, + "regionCode": { + "notBlank": "區劃代碼不可為空" + }, + "dictItemId": { + "notNull": "字典項主鍵不可為空" + }, + "configItems": { + "notEmpty": "配置項不可為空" + }, + "payOrderId": { + "notNull": "支付訂單ID不可為空" + }, + "orderId": { + "notNull": "訂單ID不可為空" + }, + "fileId": { + "notNull": "文件ID不可為空" + }, + "objectKey": { + "notBlank": "對象Key不可為空" + }, + "sessionIds": { + "notEmpty": "會話ID列表不可為空" + }, + "orderSource": { + "mustBeNull": "訂單來源字段不允許進行設置" + }, + "minLengthNotGreaterThanMax": { + "assertTrue": "最小長度不能大於最大長度" + }, + "captchaFailCountNotGreaterThanMax": { + "assertTrue": "觸發驗證碼的失敗次數不能大於最大失敗次數" + }, + "queryCode": { + "notBlank": "查詢碼不可為空" + }, + "authToken": { + "notBlank": "認證會話碼不可為空", + "size": "認證會話碼不可超過64位" + }, + "returnPath": { + "size": "來源回跳路徑不可超過200位" + }, + "taskId": { + "notNull": "消息ID不可為空" + }, + "deleteDay": { + "notNull": "天數不可為空" + }, + "menuId": { + "notNull": "菜單ID不可為空" + }, + "oldPassword": { + "notBlank": "舊密碼不能為空" + }, + "scene": { + "notNull": "消息場景不能為空", + "size": "場景編碼不可超過32位" + }, + "demoContent": { + "notBlank": "消息內容不能為空" + }, + "delaySeconds": { + "min": "延時秒數不能小於1", + "max": "延時秒數不能大於300" + }, + "name": { + "notBlank": "名稱不可為空", + "size": "名稱長度必須在3到15之間" + }, + "enabled": { + "notNull": "是否啓用不可為空" + }, + "storeNo": { + "size": "門店編號不可超過64位" + }, + "operatorId": { + "size": "操作員ID不可超過64位" + }, + "deviceName": { + "size": "設備名稱不可超過128位" + }, + "deviceIp": { + "size": "設備IP不可超過64位" + }, + "douyinAppId": { + "notBlank": "抖音應用ID不可為空" + }, + "douyinDirectAppId": { + "notNull": "抖音直連應用ID不可為空" + }, + "dyMchId": { + "notBlank": "抖音商户號不可為空" + }, + "wechatDirectAppId": { + "notNull": "微信直連應用ID不可為空" + }, + "wechatIsvMchAppId": { + "notNull": "微信服務商通道商户應用ID不可為空" + }, + "storeName": { + "notBlank": "門店名稱不能為空" + }, + "deviceSn": { + "notBlank": "設備序列號不能為空" + }, + "deviceType": { + "notBlank": "設備類型不能為空" + }, + "vendorCode": { + "notBlank": "廠商代碼不能為空" + }, + "vendorConfigId": { + "notNull": "廠商配置不能為空" + }, + "qrCodeName": { + "notBlank": "碼牌名稱不能為空", + "size": "碼牌名稱不可超過100位" + }, + "amountType": { + "notBlank": "金額類型不能為空" + }, + "batchNo": { + "notBlank": "批次號不能為空", + "size": "批次號不可超過64位" + }, + "count": { + "notNull": "創建數量不能為空", + "min": "創建數量不能小於1", + "max": "創建數量不能大於999" + }, + "ids": { + "notEmpty": "請選擇碼牌" + }, + "twoFactorCode": { + "notBlank": "動態驗證碼不能為空" + }, + "preAuthToken": { + "notBlank": "預認證令牌不能為空" + }, + "remark": { + "size": "備註不可超過255位" + }, + "lklAppId": { + "notBlank": "拉卡拉應用編號不可為空" + }, + "mchSerialNo": { + "notBlank": "商户證書序列號不可為空" + }, + "orgCode": { + "notBlank": "機構代碼不可為空" + }, + "orgId": { + "notBlank": "機構ID不能為空" + }, + "vbillMchNo": { + "notBlank": "天闕商户號不能為空" + }, + "lakalaMchNo": { + "notBlank": "拉卡拉商户號不可為空" + }, + "termNo": { + "notBlank": "終端號不可為空", + "size": "終端號不可超過64位" + }, + "agentNo": { + "notBlank": "服務商編號不可為空" + }, + "accessId": { + "notBlank": "接入機構標識不可為空" + }, + "merchNo": { + "notBlank": "海科商户號不可為空" + }, + "pn": { + "notBlank": "SAAS終端號不可為空" + }, + "sysId": { + "notBlank": "服務商系統ID不可為空" + }, + "productId": { + "notBlank": "產品號不可為空" + }, + "merchantNo": { + "notBlank": "匯付商户號不可為空" + }, + "dougongAppId": { + "notBlank": "商户AppId不可為空" + }, + "sandAppId": { + "notBlank": "杉德代理號不可為空" + }, + "credential": { + "notNull": "通道憑證不能為空" + }, + "outTradeNo": { + "notBlank": "通道交易號不能為空" + }, + "outRefundNo": { + "notBlank": "通道退款號不能為空" + }, + "outRequestNo": { + "notBlank": "通道請求號不能為空" + }, + "tradeNo": { + "notBlank": "平台交易號不能為空" + }, + "tradeProduct": { + "notBlank": "交易產品不能為空" + }, + "relationOrderNo": { + "notBlank": "關聯訂單號不能為空" + }, + "refundAmount": { + "notNull": "退款金額不能為空", + "positive": "退款金額必須大於0" + }, + "subject": { + "notBlank": "支付標題不能為空" + }, + "callbackBody": { + "notBlank": "回調報文不能為空" + }, + "callbackType": { + "notBlank": "回調類型不能為空" + }, + "rawData": { + "notBlank": "原始數據不能為空" + }, + "orderCreateTime": { + "notBlank": "訂單創建時間不能為空" + }, + "orgReqDate": { + "notBlank": "原始請求日期不能為空" + }, + "originOutTradeNo": { + "notBlank": "原通道交易號不能為空" + }, + "config": { + "notNull": "配置不能為空" + }, + "fuyouMchNo": { + "notBlank": "富友商户號不能為空" + }, + "fyAppId": { + "notBlank": "富友應用ID不能為空" + }, + "leshuaOrderId": { + "notBlank": "樂刷訂單號不能為空" + }, + "lsMchNo": { + "notBlank": "樂刷商户號不能為空" + }, + "fileName": { + "notBlank": "文件名不能為空" + }, + "fileContent": { + "notBlank": "文件內容不能為空" + } + } +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/channel/error.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/channel/error.json new file mode 100644 index 000000000..bbd8bc6fb --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/channel/error.json @@ -0,0 +1,35 @@ +{ + "success": "success", + "channelNotFound": "不支援的通道編碼", + "channelNotFoundWithDetail": "不支援的通道編碼: {0}", + "invalidConfig": "通道配置無效", + "sdkCallFailed": "SDK 呼叫失敗", + "sdkCallFailedWithDetail": "SDK 呼叫失敗: {0}", + "callbackVerifyFailed": "回撥驗籤失敗", + "cacheConcurrentConflict": "併發衝突", + "systemError": "系統內部錯誤", + "validateParams": "引數校驗失敗", + "wechatOrderQueryFailed": "微信訂單查詢異常: {0}", + "wechatRefundQueryFailed": "微信退款查詢異常: {0}", + "wechatRefundCallFailed": "微信退款呼叫異常: {0}", + "wechatPayCallFailed": "微信支付呼叫異常: {0}", + "wechatCloseOrderFailed": "微信關閉訂單異常: {0}", + "alipayOrderQueryFailed": "支付寶訂單查詢異常: {0}", + "alipayRefundQueryFailed": "支付寶退款查詢異常: {0}", + "alipayRefundFailed": "支付寶退款異常: {0}", + "alipayRefundCallFailed": "支付寶退款呼叫異常: {0}", + "alipayPreCreateFailed": "支付寶預建立訂單異常: {0}", + "alipayPayCallFailed": "支付寶支付呼叫異常: {0}", + "alipayCloseOrderFailed": "支付寶關閉訂單異常: {0}", + "alipayClientCreateFailed": "建立AlipayClient異常: {0}", + "lakalaIsvKeyNotConfigured": "拉卡拉服務商金鑰未配置", + "lakalaMerchantDuplicate": "該商戶下已存在此拉卡拉商戶號", + "lakalaPayFailed": "支付異常: {0}", + "lakalaRefundFailed": "退款異常: {0}", + "lakalaSyncFailed": "訂單同步異常: {0}", + "lakalaCloseFailed": "關閉訂單異常: {0}", + "lakalaUnsupportedPayMethod": "拉卡拉不支援的支付方式: {0}", + "yeepayPayFailed": "易寶支付下單失敗", + "yeepayCloseFailed": "易寶關閉訂單失敗", + "yeepayUnsupportedPayMethod": "易寶不支援該支付方式: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/common.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/common.json new file mode 100644 index 000000000..8139c88cd --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/common.json @@ -0,0 +1,12 @@ +{ + "save": "儲存", + "delete": "刪除", + "confirm": "確認", + "cancel": "取消", + "submit": "提交", + "enable": "啟用", + "disable": "停用", + "operation": "操作", + "createTime": "建立時間", + "updateTime": "更新時間" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/aggregate_config_level.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/aggregate_config_level.json new file mode 100644 index 000000000..74625cb42 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/aggregate_config_level.json @@ -0,0 +1,5 @@ +{ + "auto": "跟隨通道路由", + "method": "指定支付方式", + "direct": "指定通道商戶" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/apply_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/apply_type.json new file mode 100644 index 000000000..fa57e37db --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/apply_type.json @@ -0,0 +1,5 @@ +{ + "merchant": "商戶進件", + "enterprise": "企業進件", + "micro": "小微進件" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/callback_notice_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/callback_notice_type.json new file mode 100644 index 000000000..1eb523301 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/callback_notice_type.json @@ -0,0 +1,3 @@ +{ + "system": "系統回撥" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/cashier_item_resolve_mode.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/cashier_item_resolve_mode.json new file mode 100644 index 000000000..de5d4a3f2 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/cashier_item_resolve_mode.json @@ -0,0 +1,4 @@ +{ + "method": "指定支付方式", + "direct": "指定通道商戶" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/cashier_scene.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/cashier_scene.json new file mode 100644 index 000000000..be263ea7a --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/cashier_scene.json @@ -0,0 +1,7 @@ +{ + "browser": "瀏覽器環境", + "wechat_pay": "微信環境", + "alipay": "支付寶環境", + "union_pay": "雲閃付環境", + "douyin": "抖音環境" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel.json new file mode 100644 index 000000000..1071fac74 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel.json @@ -0,0 +1,20 @@ +{ + "alipay": "支付寶", + "wechat": "微信支付", + "union_pay": "雲閃付", + "leshua_pay": "樂刷", + "vbill_pay": "隨行付", + "ada_pay": "匯付天下", + "dougong_pay": "斗拱", + "hkrt_pay": "海科融通", + "lakala_pay": "拉卡拉", + "fuyou_pay": "富友", + "sheng_pay": "盛付通", + "ysep_pay": "銀盛", + "quick_pay": "快錢", + "sand_pay": "杉德", + "yee_pay": "易寶", + "ums_pay": "銀聯商務", + "douyin_pay": "抖音支付", + "jee_pay": "jeepay" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_api_call_mode.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_api_call_mode.json new file mode 100644 index 000000000..d7a073bea --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_api_call_mode.json @@ -0,0 +1,5 @@ +{ + "mch": "標準商戶", + "isv": "服務商", + "mix": "混合呼叫" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_auth_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_auth_type.json new file mode 100644 index 000000000..8477be3d8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_auth_type.json @@ -0,0 +1,6 @@ +{ + "wechat": "微信", + "alipay": "支付寶", + "union_pay": "銀聯", + "douyin": "抖音" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_merchant_data_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_merchant_data_type.json new file mode 100644 index 000000000..95f135b07 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_merchant_data_type.json @@ -0,0 +1,3 @@ +{ + "mch_info": "商戶資訊" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_merchant_source.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_merchant_source.json new file mode 100644 index 000000000..278c4b601 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_merchant_source.json @@ -0,0 +1,3 @@ +{ + "manual": "手動建立" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_pay_id_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_pay_id_type.json new file mode 100644 index 000000000..dfd14203a --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_pay_id_type.json @@ -0,0 +1,4 @@ +{ + "mch": "商戶號", + "identity": "身份標識" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_terminal_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_terminal_status.json new file mode 100644 index 000000000..6767e068e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/channel_terminal_status.json @@ -0,0 +1,7 @@ +{ + "init": "初始化", + "wait": "未報送", + "submit": "已報送", + "logged": "已登出", + "error": "錯誤" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/client.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/client.json new file mode 100644 index 000000000..0afae4c9e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/client.json @@ -0,0 +1,5 @@ +{ + "gateway": "支付閘道器", + "admin": "運營端", + "merchant": "商戶端" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/currency.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/currency.json new file mode 100644 index 000000000..3438580e7 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/currency.json @@ -0,0 +1,8 @@ +{ + "cny": "人民幣", + "usd": "美元", + "jpy": "日元", + "eur": "歐元", + "hkd": "港元", + "gbp": "英鎊" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/douyin_direct_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/douyin_direct_app_type.json new file mode 100644 index 000000000..a9073c687 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/douyin_direct_app_type.json @@ -0,0 +1,5 @@ +{ + "mini_program": "小程式", + "mobile_app": "移動應用", + "web_app": "網站應用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/encrypt_platform_config_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/encrypt_platform_config_type.json new file mode 100644 index 000000000..aaf8b6b30 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/encrypt_platform_config_type.json @@ -0,0 +1,6 @@ +{ + "oss": "物件儲存配置", + "alipay_auth": "支付寶開放平臺認證配置", + "wechat_mp_auth": "微信公眾號 H5 認證配置", + "douyin_h5_auth": "抖音開放平臺 H5 應用認證配置" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/file_upload_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/file_upload_status.json new file mode 100644 index 000000000..be66747f8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/file_upload_status.json @@ -0,0 +1,4 @@ +{ + "pending": "待上傳", + "uploaded": "已上傳" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_call_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_call_type.json new file mode 100644 index 000000000..ab67a20d8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_call_type.json @@ -0,0 +1,8 @@ +{ + "qr_code": "掃碼支付", + "link": "跳轉連結", + "mini_app": "小程式跳轉連結", + "jsapi": "JSAPI", + "from": "表單方式", + "app": "APP支付方式" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_cashier_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_cashier_type.json new file mode 100644 index 000000000..f9f0596b0 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_cashier_type.json @@ -0,0 +1,4 @@ +{ + "h5": "H5收銀臺", + "web": "WEB收銀臺" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_order_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_order_status.json new file mode 100644 index 000000000..21c0c1904 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_order_status.json @@ -0,0 +1,7 @@ +{ + "wait_pay": "待支付", + "paying": "支付中", + "paid": "已支付", + "closed": "已關閉", + "expired": "已過期" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_pay_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_pay_type.json new file mode 100644 index 000000000..478c1b9cd --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/gateway_pay_type.json @@ -0,0 +1,4 @@ +{ + "cashier": "統一收銀臺", + "aggregate": "聚合掃碼" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mch_app_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mch_app_status.json new file mode 100644 index 000000000..90cfba79d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mch_app_status.json @@ -0,0 +1,4 @@ +{ + "disabled": "停用", + "enable": "啟用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/menu_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/menu_type.json new file mode 100644 index 000000000..175711e77 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/menu_type.json @@ -0,0 +1,8 @@ +{ + "catalog": "目錄", + "menu": "選單", + "subpage": "子頁面", + "subpage_group": "子頁面分組", + "embedded": "內嵌頁面", + "link": "外鏈" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/merchant_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/merchant_status.json new file mode 100644 index 000000000..90cfba79d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/merchant_status.json @@ -0,0 +1,4 @@ +{ + "disabled": "停用", + "enable": "啟用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mobile_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mobile_app_type.json new file mode 100644 index 000000000..381b3649e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mobile_app_type.json @@ -0,0 +1,5 @@ +{ + "merchant": "商戶端", + "admin": "管理端", + "cashier": "收銀臺小程式" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mobile_platform.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mobile_platform.json new file mode 100644 index 000000000..ba41809c4 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/mobile_platform.json @@ -0,0 +1,8 @@ +{ + "wx_h5": "微信公眾號", + "wx_mini": "微信小程式", + "alipay_mini": "支付寶小程式", + "dy_mini": "抖音小程式", + "android": "安卓APP", + "ios": "iOS APP" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/normal_order_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/normal_order_status.json new file mode 100644 index 000000000..2a77906bb --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/normal_order_status.json @@ -0,0 +1,6 @@ +{ + "wait_pay": "待支付", + "paid": "已支付", + "closed": "已關閉", + "expired": "已過期" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notice_send_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notice_send_type.json new file mode 100644 index 000000000..c9239ed12 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notice_send_type.json @@ -0,0 +1,4 @@ +{ + "auto": "自動傳送", + "manual": "手動傳送" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_content_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_content_type.json new file mode 100644 index 000000000..847233c8d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_content_type.json @@ -0,0 +1,4 @@ +{ + "pay": "支付訂單變動通知", + "refund": "退款訂單變動通知" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_severity.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_severity.json new file mode 100644 index 000000000..2a97d193e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_severity.json @@ -0,0 +1,4 @@ +{ + "normal": "普通", + "important": "重要" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_status.json new file mode 100644 index 000000000..36a6ea1c8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_status.json @@ -0,0 +1,5 @@ +{ + "draft": "草稿", + "published": "釋出", + "offline": "下線" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_type.json new file mode 100644 index 000000000..8e35e1215 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/notify_type.json @@ -0,0 +1,4 @@ +{ + "notice": "公告", + "message": "訊息" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/operate_log_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/operate_log_type.json new file mode 100644 index 000000000..8b418e6a6 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/operate_log_type.json @@ -0,0 +1,12 @@ +{ + "other": "其它", + "add": "新增", + "update": "修改", + "delete": "刪除", + "grant": "授權", + "sync": "同步", + "export": "匯出", + "import": "匯入", + "force": "強退", + "clean": "清空" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_body_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_body_type.json new file mode 100644 index 000000000..f1a4c1886 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_body_type.json @@ -0,0 +1,8 @@ +{ + "link": "支付連結", + "jsapi": "JSAPI物件", + "from": "表單資料", + "identifier": "標識碼", + "qr_code": "二維碼", + "json": "JSON物件" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_capability.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_capability.json new file mode 100644 index 000000000..5e59a3303 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_capability.json @@ -0,0 +1,30 @@ +{ + "aggregate_pay_qrcode": "聚合掃碼", + "aggregate_pay_barcode": "聚合付款碼", + "wechat_cashier": "微信小程式收銀臺", + "wechat_jsapi": "微信 JSAPI", + "wechat_app": "微信 APP", + "wechat_h5": "微信 H5", + "wechat_qr": "微信掃碼", + "wechat_mini": "微信小程式", + "wechat_barcode": "微信付款碼", + "alipay_barcode": "支付寶付款碼", + "alipay_qr": "支付寶掃碼", + "alipay_app": "支付寶 APP", + "alipay_h5": "支付寶 H5", + "alipay_pc": "支付寶電腦", + "alipay_jsapi": "支付寶 JSAPI", + "alipay_mini": "支付寶小程式", + "union_pay_qr": "銀聯掃碼", + "union_pay_barcode": "銀聯付款碼", + "union_pay_h5": "銀聯 H5", + "union_pay_jsapi": "銀聯 JSAPI", + "douyin_qr": "抖音掃碼", + "douyin_jsapi": "抖音 JSAPI", + "douyin_h5": "抖音 H5", + "douyin_app": "抖音 APP", + "visa_card_gateway": "Visa 閘道器", + "visa_card_present": "Visa 線下", + "mastercard_card_gateway": "萬事達閘道器", + "mastercard_card_present": "萬事達線下" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_env.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_env.json new file mode 100644 index 000000000..70a9373f4 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_env.json @@ -0,0 +1,5 @@ +{ + "prod": "生產環境", + "sandbox": "沙箱環境", + "none": "未啟用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_fund_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_fund_status.json new file mode 100644 index 000000000..5c807a695 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_fund_status.json @@ -0,0 +1,8 @@ +{ + "init": "待支付", + "processing": "處理中", + "success": "成功", + "fail": "失敗", + "close": "已關閉", + "cancel": "已撤銷" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_limit_pay.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_limit_pay.json new file mode 100644 index 000000000..1130406f1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_limit_pay.json @@ -0,0 +1,3 @@ +{ + "no_credit": "信用卡支付" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_method.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_method.json new file mode 100644 index 000000000..c3104405d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_method.json @@ -0,0 +1,31 @@ +{ + "aggregate_pay_qrcode": "聚合掃碼", + "aggregate_pay_barcode": "聚合付款碼", + "wechat_cashier": "微信小程式收銀臺", + "wechat_qr": "微信Native", + "wechat_jsapi": "微信JSAPI", + "wechat_mini": "微信小程式", + "wechat_h5": "微信H5", + "wechat_app": "微信APP", + "wechat_barcode": "微信付款碼", + "alipay_qr": "支付寶掃碼", + "alipay_jsapi": "支付寶JSAPI", + "alipay_mini": "支付寶小程式", + "alipay_pc": "支付寶PC", + "alipay_h5": "支付寶H5", + "alipay_app": "支付寶APP", + "alipay_barcode": "支付寶付款碼", + "union_qr": "銀聯掃碼", + "union_jsapi": "銀聯JSAPI", + "union_h5": "銀聯H5", + "union_pay_barcode": "銀聯付款碼", + "douyin_qr": "抖音掃碼", + "douyin_jsapi": "抖音JSAPI", + "douyin_h5": "抖音H5", + "douyin_app": "抖音APP", + "visa_card_gateway": "Visa閘道器", + "visa_card_present": "Visa刷卡", + "mastercard_card_gateway": "萬事達閘道器", + "mastercard_card_present": "萬事達刷卡", + "other": "其他" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_provider.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_provider.json new file mode 100644 index 000000000..1d2b6c561 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_provider.json @@ -0,0 +1,9 @@ +{ + "aggregate_pay": "聚合支付", + "wechat": "微信支付", + "alipay": "支付寶", + "union_pay": "銀聯", + "visa": "Visa", + "mastercard": "萬事達", + "douyin": "抖音支付" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_refund_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_refund_status.json new file mode 100644 index 000000000..92441765f --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_refund_status.json @@ -0,0 +1,6 @@ +{ + "no_refund": "未退款", + "refunding": "退款中", + "partial_refund": "部分退款", + "refunded": "全部退款" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_route_mode.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_route_mode.json new file mode 100644 index 000000000..7c17fe403 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_route_mode.json @@ -0,0 +1,4 @@ +{ + "basic": "按渠道預設", + "scene": "按支付方式" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_status.json new file mode 100644 index 000000000..58f68c061 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_status.json @@ -0,0 +1,9 @@ +{ + "wait": "待支付", + "progress": "支付中", + "success": "成功", + "close": "支付關閉", + "cancel": "支付撤銷", + "fail": "失敗", + "timeout": "支付超時" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_trade_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_trade_type.json new file mode 100644 index 000000000..dbfd6868d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/pay_trade_type.json @@ -0,0 +1,8 @@ +{ + "normal": "普通支付", + "gateway": "閘道器支付", + "authorize": "預授權凍結", + "capture": "預授權捕獲", + "recurring": "週期代扣", + "combine_sub": "合單子單" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/platform_config_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/platform_config_type.json new file mode 100644 index 000000000..9fcc0e649 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/platform_config_type.json @@ -0,0 +1,9 @@ +{ + "security_password_policy": "密碼策略配置", + "security_login": "登入安全配置", + "security_session": "會話管理配置", + "security_two_factor_auth": "雙因素認證配置", + "url": "系統訪問地址配置", + "website": "站點顯示內容配置", + "wechat_notify": "微信訊息通知模板配置" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/product.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/product.json new file mode 100644 index 000000000..e8b9d7757 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/product.json @@ -0,0 +1,27 @@ +{ + "alipay_isv": "支付寶(服務商)", + "alipay": "支付寶(直連)", + "wechat_isv": "微信支付(服務商)", + "wechat_pay": "微信支付(直連)", + "douyin_pay": "抖音支付(直連)", + "ums_qrcode": "銀聯商務(C掃B)", + "ums_jsapi": "銀聯商務(公眾號)", + "ums_app": "銀聯商務(APP)", + "ums_mini": "銀聯商務(小程式)", + "ums_h5": "銀聯商務(H5)", + "ums_barcode": "銀聯商務(B掃C)", + "lakala_pay": "拉卡拉支付", + "leshua_pay": "樂刷支付", + "ada_pay": "匯付天下", + "dougong_pay": "斗拱支付", + "hkrt_pay": "海科融通", + "vbill_pay": "隨行付", + "fuyou_pay": "富友支付", + "sheng_pay": "盛付通", + "ysep_pay": "銀盛支付", + "quick_pay": "快錢支付", + "hm_pay": "河馬付", + "sand_pay": "杉德支付", + "yee_pay": "易寶支付", + "jee_pay": "Jeepay" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/qrcode_amount_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/qrcode_amount_type.json new file mode 100644 index 000000000..2f3e37c2e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/qrcode_amount_type.json @@ -0,0 +1,4 @@ +{ + "random": "自定義金額", + "fixed": "固定金額" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/qrcode_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/qrcode_status.json new file mode 100644 index 000000000..ba6937cb9 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/qrcode_status.json @@ -0,0 +1,4 @@ +{ + "enabled": "啟用", + "disabled": "停用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/refund_order_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/refund_order_status.json new file mode 100644 index 000000000..73afb6e5b --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/refund_order_status.json @@ -0,0 +1,7 @@ +{ + "init": "初始化", + "progress": "退款中", + "success": "退款成功", + "fail": "退款失敗", + "close": "退款關閉" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/register_source.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/register_source.json new file mode 100644 index 000000000..2c9a32bfb --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/register_source.json @@ -0,0 +1,6 @@ +{ + "H5": "H5頁面", + "MINI_APP": "小程式", + "ADMIN": "後臺建立", + "PC": "PC端" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/role_code.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/role_code.json new file mode 100644 index 000000000..84bce3ed5 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/role_code.json @@ -0,0 +1,3 @@ +{ + "merchant_admin": "商戶管理員" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/social_source.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/social_source.json new file mode 100644 index 000000000..7e521c00b --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/social_source.json @@ -0,0 +1,12 @@ +{ + "weChat": "微信開放平臺", + "weCom": "企業微信", + "qq": "QQ", + "github": "GitHub", + "gitee": "Gitee", + "google": "Google", + "feishu": "飛書", + "dingTalk": "釘釘", + "douyin": "抖音", + "alipay": "支付寶" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/store_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/store_status.json new file mode 100644 index 000000000..90cfba79d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/store_status.json @@ -0,0 +1,4 @@ +{ + "disabled": "停用", + "enable": "啟用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/subject_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/subject_type.json new file mode 100644 index 000000000..0051992f5 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/subject_type.json @@ -0,0 +1,5 @@ +{ + "micro": "小微商戶", + "individual": "個體工商戶", + "enterprise": "企業" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_flow_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_flow_type.json new file mode 100644 index 000000000..b7a03d751 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_flow_type.json @@ -0,0 +1,5 @@ +{ + "pay": "支付", + "refund": "退款", + "transfer": "轉賬" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_source.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_source.json new file mode 100644 index 000000000..3ed4d27a3 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_source.json @@ -0,0 +1,7 @@ +{ + "user": "使用者操作", + "mch_api": "商戶API", + "cashier_code": "碼牌", + "checkout": "收銀臺支付", + "aggress_pay": "聚合/收銀臺支付" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_status.json new file mode 100644 index 000000000..cfb6c0644 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_status.json @@ -0,0 +1,8 @@ +{ + "progress": "執行中", + "success": "成功", + "fail": "失敗", + "closed": "關閉", + "revoked": "撤銷", + "exception": "異常" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_type.json new file mode 100644 index 000000000..b458cdf94 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/trade_type.json @@ -0,0 +1,6 @@ +{ + "pay": "支付", + "refund": "退款", + "cashouts": "提現", + "settle": "結算" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/upload_access_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/upload_access_type.json new file mode 100644 index 000000000..f4b6a8450 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/upload_access_type.json @@ -0,0 +1,4 @@ +{ + "public": "公開檔案", + "private": "私有檔案" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_client_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_client_type.json new file mode 100644 index 000000000..e614d35b4 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_client_type.json @@ -0,0 +1,5 @@ +{ + "WEB": "Web端", + "APP": "App端", + "MINIAPP": "小程式端" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_content_format.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_content_format.json new file mode 100644 index 000000000..19001e4f4 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_content_format.json @@ -0,0 +1,3 @@ +{ + "MARKDOWN": "Markdown" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_status.json new file mode 100644 index 000000000..757ab92f0 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_status.json @@ -0,0 +1,5 @@ +{ + "DRAFT": "草稿", + "PUBLISHED": "已釋出", + "ARCHIVED": "已歸檔" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_type.json new file mode 100644 index 000000000..c2af45e96 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_protocol_type.json @@ -0,0 +1,6 @@ +{ + "USER_AGREEMENT": "使用者協議", + "PRIVACY_POLICY": "隱私政策", + "THIRD_PARTY_INFO": "第三方資訊共享清單", + "CHILDREN_POLICY": "未成年人隱私說明" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_status.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_status.json new file mode 100644 index 000000000..bcfae9632 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/user_status.json @@ -0,0 +1,5 @@ +{ + "normal": "正常", + "lock": "鎖定", + "ban": "封禁" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wallet_flow_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wallet_flow_type.json new file mode 100644 index 000000000..7ff643238 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wallet_flow_type.json @@ -0,0 +1,4 @@ +{ + "withdraw": "提現", + "adjust": "人工調賬" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_auth_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_auth_app_type.json new file mode 100644 index 000000000..9c3a96316 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_auth_app_type.json @@ -0,0 +1,4 @@ +{ + "SP_APP": "服務商應用", + "SUB_APP": "子商戶應用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_auth_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_auth_type.json new file mode 100644 index 000000000..1bf3834fc --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_auth_type.json @@ -0,0 +1,4 @@ +{ + "sp": "服務商使用者標識", + "sub": "子商戶應用使用者標識" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_direct_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_direct_app_type.json new file mode 100644 index 000000000..659cbf16f --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_direct_app_type.json @@ -0,0 +1,5 @@ +{ + "official_account": "公眾號", + "mini_program": "小程式", + "mobile_app": "移動應用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_isv_app_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_isv_app_type.json new file mode 100644 index 000000000..659cbf16f --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wechat_isv_app_type.json @@ -0,0 +1,5 @@ +{ + "official_account": "公眾號", + "mini_program": "小程式", + "mobile_app": "移動應用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wx_verify_owner_type.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wx_verify_owner_type.json new file mode 100644 index 000000000..45b4e949e --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/enum/wx_verify_owner_type.json @@ -0,0 +1,4 @@ +{ + "official_account": "公眾號", + "miniprogram": "小程式" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/artemis.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/artemis.json new file mode 100644 index 000000000..688bec628 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/artemis.json @@ -0,0 +1,7 @@ +{ + "sendFailed": "訊息傳送失敗: {0}", + "delaySendFailed": "延時訊息傳送失敗: {0}", + "serializeFailed": "訊息序列化失敗: {0}", + "parseBodyFailed": "訊息體解析失敗: {0}", + "typeConvertFailed": "訊息型別轉換失敗: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/auth.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/auth.json new file mode 100644 index 000000000..35224a815 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/auth.json @@ -0,0 +1,33 @@ +{ + "accountOrPasswordError": "賬號或密碼不正確", + "notLogin": "使用者未登入", + "passwordExpired": "密碼已過期,請先修改密碼", + "captchaError": "驗證碼錯誤", + "captchaRequired": "請輸入驗證碼", + "userNotFound": "使用者未找到", + "routerCheck": "沒有對應請求路徑的許可權", + "applicationNotFound": "未找到對應的應用", + "applicationNotEnable": "指定應用已被停用", + "clientNotFound": "未找到對應的終端", + "clientNotEnable": "指定終端方式已被停用", + "clientMismatch": "該第三方賬號繫結的使用者不屬於當前登入終端", + "userStatusError": "使用者狀態異常", + "privateKeyNotConfigured": "平臺私鑰未配置,無法解密密碼", + "passwordDecryptFailed": "密碼解密失敗,請檢查密碼傳輸方式", + "loginMethodNotSupported": "當前終端不支援該登入方式", + "loginAuthenticatorNotFound": "未找到對應的登入認證器", + "builtinAdminLoginDisabled": "當前終端未開啟內建超管登入能力", + "userDisabled": "該使用者已被停用", + "twoFactorRequired": "需要雙因素認證", + "twoFactorCodeError": "動態碼或備用碼錯誤", + "twoFactorPreAuthExpired": "預認證令牌無效或已過期,請重新登入", + "loginRetryLock": "登入失敗次數過多,請{0}分鐘後重試", + "notToken": "未提供登入憑證", + "invalidToken": "登入憑證無效", + "tokenTimeout": "登入已過期,請重新登入", + "beReplaced": "賬號已在其他裝置登入", + "kickOut": "登入狀態已失效,請重新登入", + "tokenFreeze": "登入憑證已被凍結", + "concurrentLimitExceeded": "併發登入數已達上限,請先退出其他裝置", + "contextNotInit": "認證上下文未初始化,請重新登入或重新整理頁面" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel.json new file mode 100644 index 000000000..83c094d31 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel.json @@ -0,0 +1,3 @@ +{ + "envMismatch": "通道商戶環境與支付產品當前生效環境不一致" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/alipay.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/alipay.json new file mode 100644 index 000000000..0baf1d58c --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/alipay.json @@ -0,0 +1,47 @@ +{ + "alipayNotEnabled": "支付寶通道未啟用", + "wechatNotEnabled": "商戶或服務商微信支付通道未啟用", + "productConfigNotExist": "服務商產品支付配置不存在", + "noSubMchPerm": "你沒有許可權配置此子商戶號", + "closeFailed": "支付寶關閉訂單異常: {0}", + "closeFailedReason": "關閉失敗, 原因: {0}", + "cannotCloseSyncFirst": "當前交易無法關閉操作, 請對訂單同步狀態後再進行操作", + "refundQueryInterval": "間隔10秒以上再發起退款查詢請求", + "alipayRefundFailed": "支付寶退款失敗: {0}", + "wechatRefundV3Failed": "微信退款V3失敗", + "alipayH5Failed": "支付寶手機支付失敗", + "alipayAppFailed": "支付寶APP支付失敗", + "alipayPcFailed": "支付寶PC支付失敗", + "alipayJsapiFailed": "支付寶JsApi支付失敗", + "alipayScanFailed": "支付寶掃碼支付失敗", + "alipayBscanFailed": "主動掃碼支付失敗", + "payFailed": "支付寶支付異常: {0}", + "notSupportCancel": "該訂單不支援撤銷操作", + "notSupportMethod": "暫不支援的支付寶支付方式: {0}", + "wechatJsapiNeedOpenid": "微信JSAPI支付必須傳入openId引數", + "wechatH5Failed": "微信V3手機網站支付失敗", + "wechatAppFailed": "微信V3程式支付失敗", + "wechatJsapiFailed": "微信V3JsApi支付失敗", + "wechatScanFailed": "微信V3掃碼支付失敗", + "wechatCancelV3Failed": "微信撤銷支付V3失敗", + "privateKeyRequired": "應用私鑰不可為空", + "alipayPublicKeyRequired": "支付寶公鑰不可為空", + "appCertRequired": "應用公鑰證書不可為空", + "alipayCertRequired": "支付寶公鑰證書不可為空", + "alipayRootCertRequired": "支付寶CA根證書不可為空", + "apiV3KeyRequired": "API V3金鑰不可為空", + "subConfigNotExist": "支付寶子商戶配置不存在", + "mchProductConfigNotExist": "支付寶產品支付配置不存在", + "appIdDuplicate": "同一服務商下應用ID已存在", + "appNotFound": "支付寶服務商應用不存在", + "mchAppNotFound": "支付寶通道商戶應用不存在", + "subMerchantDuplicate": "該支付寶應用下已存在此子商戶號", + "directMchDuplicate": "同一商戶下該支付寶商戶已存在", + "userIdTypeInvalid": "使用者標識型別不合法", + "capabilityDuplicate": "支付能力[{0}]重複配置", + "authUserIdMismatch": "授權返回的商戶號與通道商戶繫結的子商戶號不一致,已拒絕繫結", + "subMerchantNoRequired": "請先配置子商戶號(2088)後再發起代運營授權", + "authCodeInvalid": "支付寶授權碼無效或已過期", + "authTokenExchangeFailed": "換取應用授權令牌失敗: {0}", + "paymentGatewayUrlRequired": "平臺支付閘道器地址(paymentGatewayBaseUrl)未配置,無法生成授權回撥地址" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/douyin.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/douyin.json new file mode 100644 index 000000000..e3621f7bf --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/douyin.json @@ -0,0 +1,10 @@ +{ + "mchAppNotFound": "抖音通道商戶應用不存在", + "appIdDuplicate": "同一通道商戶下抖音應用ID已存在", + "directMchDuplicate": "同一商戶下該抖音直連商戶已存在", + "appTypeInvalid": "抖音應用型別無效", + "capabilityDuplicate": "同一通道商戶下支付能力[{0}]重複配置", + "payFailed": "抖音支付異常: {0}", + "closeFailed": "抖音關閉訂單異常: {0}", + "notSupportMethod": "暫不支援的抖音支付方式: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/lakala.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/lakala.json new file mode 100644 index 000000000..7e0abd7a9 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/lakala.json @@ -0,0 +1,7 @@ +{ + "privateKeyRequired": "應用私鑰不可為空", + "publicKeyRequired": "應用公鑰不可為空", + "lklAppIdRequired": "拉卡拉應用編號不可為空", + "mchSerialNoRequired": "商戶證書序列號不可為空", + "termNoNotConfigured": "終端號未配置, 請在商戶配置中填寫" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/leshua.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/leshua.json new file mode 100644 index 000000000..82918c611 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/leshua.json @@ -0,0 +1,4 @@ +{ + "isvKeyNotConfigured": "樂刷服務商金鑰未配置", + "merchantDuplicate": "該商戶下已存在此樂刷商戶號" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/ums.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/ums.json new file mode 100644 index 000000000..67e661d57 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/ums.json @@ -0,0 +1,5 @@ +{ + "payFailed": "銀聯商務支付異常: {0}", + "closeFailed": "銀聯商務關閉訂單異常: {0}", + "notSupportMethod": "暫不支援的銀聯商務支付方式: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/vbill.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/vbill.json new file mode 100644 index 000000000..75efffad1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/vbill.json @@ -0,0 +1,5 @@ +{ + "isvKeyNotConfigured": "隨行付服務商金鑰未配置", + "mnoNotConfigured": "天闕商戶號(mno)未配置, 請在商戶配置中填寫", + "merchantDuplicate": "該商戶下已存在此天闕商戶號" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/wechat.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/wechat.json new file mode 100644 index 000000000..2b253e77c --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/channel/wechat.json @@ -0,0 +1,59 @@ +{ + "notEnabled": "微信支付未啟用", + "refundV3Failed": "微信退款V3失敗: {0}", + "jsapiNeedOpenid": "微信JSAPI支付需要傳入openId", + "h5Failed": "微信H5支付失敗: {0}", + "appFailed": "微信APP支付失敗: {0}", + "jsapiFailed": "微信JSAPI支付失敗: {0}", + "scanFailed": "微信掃碼支付失敗: {0}", + "cancelV3Failed": "微信撤銷V3失敗: {0}", + "apiV3KeyRequired": "API V3金鑰未配置", + "privateKeyRequired": "商戶私鑰未配置", + "messageRecordNotExist": "訊息記錄不存在", + "onlyFailedCanResend": "只能重發失敗的訊息", + "platformConfigNotExist": "微信訊息通知配置不存在", + "mpAuthConfigIncomplete": "三方平臺微信公眾號憑據未配置(AppId/AppSecret)", + "configParamsRequired": "微信配置引數不能為空", + "mpTemplateMessageFailed": "傳送公眾號模板訊息失敗: {0}", + "mpTemplateMessageError": "傳送公眾號模板訊息異常: {0}", + "maUniformMessageFailed": "傳送小程式統一服務訊息失敗: {0}", + "maUniformMessageError": "傳送小程式統一服務訊息異常: {0}", + "unsupportedMessageType": "不支援的訊息型別: {0}", + "messageResendFailed": "重發訊息失敗: {0}", + "userInfoFetchFailed": "獲取使用者資訊失敗: {0}", + "userInfoFetchError": "獲取使用者資訊異常: {0}", + "paramsRequired": "引數不能為空", + "phoneFetchFailed": "獲取手機號失敗: {0}", + "phoneFetchError": "獲取手機號異常: {0}", + "userInfoNotFound": "未獲取到微信使用者資訊", + "userNotSubscribed": "使用者未關注公眾號", + "phoneNotFound": "未獲取到微信手機號", + "mpAuthFailed": "微信公眾號認證失敗: {0}", + "mpAuthConfigError": "微信公眾號認證配置錯誤: {0}", + "maAuthFailed": "微信小程式認證失敗: {0}", + "maAuthConfigError": "微信小程式認證配置錯誤: {0}", + "subConfigNotExist": "微信子商戶配置不存在", + "productConfigNotExist": "微信服務商金鑰配置不存在", + "appNotFound": "微信服務商應用不存在", + "mchAppNotFound": "微信通道商戶應用不存在", + "mchAppWxAppIdDuplicate": "該通道商戶下微信應用AppId已存在", + "appIdDuplicate": "該服務商下微信應用AppId已存在", + "appTypeInvalid": "微信應用型別無效", + "authAppTypeInvalid": "微信認證應用型別無效", + "appSecretRequired": "應用金鑰不可為空", + "publicKeyRequired": "支付公鑰未配置", + "privateCertRequired": "API證書未配置", + "subMerchantDuplicate": "該微信應用下已存在此特約商戶號", + "directMchDuplicate": "同一商戶下該微信商戶已存在", + "capabilityDuplicate": "微信支付能力[{0}]重複配置", + "payFailed": "微信支付異常: {0}", + "closeFailed": "微信關閉訂單異常: {0}", + "unsupportedPayMethod": "暫不支援的微信支付方式: {0}", + "accessTokenLockFailed": "獲取AccessToken失敗:無法獲取分散式鎖", + "refreshAccessTokenFailed": "重新整理AccessToken失敗: {0}", + "refreshAccessTokenEmpty": "重新整理AccessToken失敗:返回的Token為空", + "isvKeyNotConfigured": "微信服務商金鑰未配置或不完整,請先完成服務商金鑰配置", + "authUrlFailed": "獲取授權連結失敗: {0}", + "authFailed": "獲取使用者標識(openId)失敗: {0}", + "opAppIdNotFound": "指定的應用AppId[{0}]未在系統中配置" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/common.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/common.json new file mode 100644 index 000000000..4e9fac53b --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/common.json @@ -0,0 +1,45 @@ +{ + "system": "系統錯誤", + "authFail": "認證失敗", + "notFound": "資源不存在", + "dataNotExist": "資料不存在", + "validateParams": "引數驗證失敗: {0}", + "parseParams": "引數處理失敗", + "unsupportedOperate": "不支援的操作", + "repetitiveOperation": "重複操作", + "dangerSql": "檢測到危險SQL", + "dangerSqlWithValue": "請注意,值可能存在SQL隱碼攻擊風險!--->{0}", + "rsaPrivateKeyParseFailed": "私鑰解析失敗,需要為 PKCS#8 格式的Rsa私鑰", + "rsaPublicKeyParseFailed": "公鑰解析失敗,需要為 PKCS#8 格式的Rsa公鑰", + "internalForbidden": "內部介面不允許普通使用者進行呼叫", + "dbTypeNotFound": "獲取資料庫型別失敗", + "nonceMissing": "請求缺少防重放驗證引數", + "nonceInvalid": "請求驗證已失效,請重試", + "timestampExpired": "請求時間戳已過期,請重試", + "translateColumnNotFound": "實體類 {0} 中未找到屬性 {1} 的列對映", + "enumUnknown": "未知型別: {0}", + "fileOperationFailed": "檔案操作失敗: {0}", + "payStatusNotExist": "該支付狀態不存在", + "payEnvNotExist": "支付環境不存在", + "tradeTypeNotExist": "交易型別不存在: {0}", + "tradeStatusNotExist": "交易狀態不存在: {0}", + "refundStatusNotExist": "退款狀態不存在: {0}", + "payRefundStatusNotExist": "該退款狀態不存在: {0}", + "payCallTypeNotSupported": "不支援的收銀臺型別: {0}", + "channelAuthTypeNotExist": "認證型別不存在: {0}", + "mchAppStatusNotFound": "未找到對應的商戶應用狀態型別: {0}", + "storeStatusNotFound": "未找到對應的門店狀態型別: {0}", + "backendBaseUrlNotConfigured": "平臺後端訪問地址(backendBaseUrl)未配置, 無法生成回撥地址", + "requestContextMissing": "無法獲取請求上下文", + "gatewayUrlNotConfigured": "支付閘道器前端地址(paymentGatewayBaseUrl)未配置, 無法生成認證回撥地址", + "cashierSceneNotExist": "收銀場景不存在: {0}", + "gatewayPayTypeNotExist": "閘道器支付型別不存在: {0}", + "aggregateConfigLevelNotExist": "聚合掃碼配置深度不存在: {0}", + "gatewayCashierTypeNotExist": "收銀臺型別不存在: {0}", + "cashierItemResolveModeNotExist": "收銀臺支付項解析模式不存在: {0}", + "currencyNotExist": "幣種不存在: {0}", + "payTradeTypeNotExist": "資金交易形態不存在: {0}", + "payFundStatusNotExist": "資金交易狀態不存在: {0}", + "normalOrderStatusNotExist": "普通支付訂單狀態不存在: {0}", + "gatewayOrderStatusNotExist": "閘道器支付訂單狀態不存在: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/demo.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/demo.json new file mode 100644 index 000000000..f5caf139d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/demo.json @@ -0,0 +1,3 @@ +{ + "delaySecondsRequired": "DELAY 場景下延時秒數不能為空" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/device/qrcode.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/device/qrcode.json new file mode 100644 index 000000000..56096c866 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/device/qrcode.json @@ -0,0 +1,11 @@ +{ + "notFound": "碼牌不存在", + "disabled": "碼牌已停用", + "mchNotFound": "碼牌所屬商戶不存在", + "amountTypeNotFound": "未找到對應的碼牌金額型別: {0}", + "statusNotFound": "未找到對應的碼牌狀態: {0}", + "fixedAmountInvalid": "固定金額必須大於0", + "batchNoExists": "批次號已存在", + "notAssigned": "碼牌未分配商戶", + "idsEmpty": "請選擇碼牌" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/file.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/file.json new file mode 100644 index 000000000..65dd814ae --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/file.json @@ -0,0 +1,10 @@ +{ + "storageConfigNotExist": "儲存配置不存在", + "recordNotExist": "檔案記錄不存在", + "platformRecordNotExist": "平臺檔案記錄不存在", + "statusInvalidForConfirm": "檔案狀態不正確,無法確認", + "objectKeyMismatch": "物件Key不匹配", + "notUploadedToStorage": "檔案尚未上傳到儲存", + "notUploadedForAccess": "檔案未上傳完成,無法訪問", + "notUploadedForDownload": "檔案未上傳完成,無法下載" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/assign.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/assign.json new file mode 100644 index 000000000..15a6726cd --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/assign.json @@ -0,0 +1,7 @@ +{ + "roleClientMismatch": "角色所屬終端與請求終端不一致", + "invalidMenuData": "存在無效的選單資料", + "roleMenuClientMismatch": "角色所屬終端與選單終端不一致", + "invalidPermCodeData": "存在無效的許可權碼資料", + "permCodeNotOnSelectedMenus": "存在未掛載到已選選單的許可權碼: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/menu.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/menu.json new file mode 100644 index 000000000..0ecd80ba8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/menu.json @@ -0,0 +1,18 @@ +{ + "codeExists": "選單編碼已存在", + "cycleDependency": "上級選單不能是自身或下級選單", + "subpageNoChildren": "子頁面不能有下級選單", + "hasChildrenCannotDelete": "有子選單不可以刪除", + "invalidType": "無效的選單型別", + "typeImmutable": "選單型別建立後不可修改", + "subpageNeedParent": "子頁面必須選擇上級選單", + "parentNotExist": "上級選單不存在", + "subpageParentMustBeMenu": "子頁面的上級選單必須是選單型別", + "subpageParentInvalid": "子頁面的上級必須是選單或子頁面分組", + "subpageGroupNeedParent": "子頁面分組必須選擇上級選單", + "subpageGroupParentMustBeMenu": "子頁面分組的上級必須是選單型別", + "subpageGroupChildMustBeSubpage": "子頁面分組下只能包含子頁面", + "needParentCatalog": "選單、內嵌頁面、外鏈必須選擇上級目錄", + "parentMustBeCatalog": "選單、內嵌頁面、外鏈的上級選單必須是目錄型別", + "notExist": "選單不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/password.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/password.json new file mode 100644 index 000000000..422b761e7 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/password.json @@ -0,0 +1,12 @@ +{ + "invalid": "使用者密碼不正確", + "notBlank": "密碼不能為空", + "noChinese": "密碼不能包含中文字元", + "minLength": "密碼長度不能小於{0}位", + "maxLength": "密碼長度不能大於{0}位", + "requireUppercase": "密碼必須包含大寫字母", + "requireLowercase": "密碼必須包含小寫字母", + "requireDigit": "密碼必須包含數字", + "requireSpecialChar": "密碼必須包含特殊字元", + "historyDuplicate": "新密碼不能與最近{0}次使用過的密碼相同" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/perm.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/perm.json new file mode 100644 index 000000000..7310b0bf2 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/perm.json @@ -0,0 +1,6 @@ +{ + "codeDefinitionConflict": "同一許可權碼定義衝突: {0}", + "codeNotConfigured": "存在未配置 code 的許可權碼宣告", + "nameCnNotConfigured": "存在未配置 nameCn 的許可權碼宣告", + "nameEnNotConfigured": "存在未配置 nameEn 的許可權碼宣告" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/role.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/role.json new file mode 100644 index 000000000..df55a7415 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/role.json @@ -0,0 +1,10 @@ +{ + "roleNotExisted": "角色不存在", + "roleAlreadyUsed": "該角色下分配了使用者,無法刪除", + "roleAlreadyExisted": "角色已經存在", + "permissionDbError": "使用者沒有許可權", + "internalCannotDelete": "內建角色不允許刪除", + "assignOutOfScope": "角色分配超出了可分配的範圍", + "assignCrossClient": "禁止為使用者分配跨終端角色:使用者歸屬終端[{0}],角色歸屬終端[{1}]", + "notExist": "角色不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/session.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/session.json new file mode 100644 index 000000000..b14dffcf6 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/session.json @@ -0,0 +1,6 @@ +{ + "sessionNotExistOrExpired": "會話不存在或已過期", + "invalidSessionId": "無效的會話ID", + "cannotKickoutAdmin": "不允許強制超級管理員下線", + "kickoutFailed": "強制使用者下線失敗: {0}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/twoFactor.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/twoFactor.json new file mode 100644 index 000000000..471f19594 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/twoFactor.json @@ -0,0 +1,6 @@ +{ + "platformDisabled": "平臺未啟用雙因素認證", + "alreadyBound": "已繫結雙因素認證, 無需重複操作", + "notBound": "未繫結雙因素認證", + "codeError": "動態碼錯誤" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/user.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/user.json new file mode 100644 index 000000000..fb2d0349f --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/iam/user.json @@ -0,0 +1,16 @@ +{ + "userInfoNotExists": "使用者資訊不存在", + "userPhoneAlreadyExisted": "使用者手機已存在", + "userNonePhoneAndEmail": "使用者的電話和電子郵件必須包含一個", + "oldPasswordError": "舊密碼錯誤", + "accountExistsInClient": "該終端下賬號已存在", + "phoneUsedInClient": "該終端下手機號已被使用", + "emailUsedInClient": "該終端下郵箱已被使用", + "phoneUsedByOtherInClient": "該終端下手機號已被其他使用者使用", + "emailUsedByOtherInClient": "該終端下郵箱已被其他使用者使用", + "dataError": "使用者資料有問題", + "notExist": "使用者不存在", + "cannotEditNonAdmin": "不允許編輯非運營端使用者", + "emailUsedByOther": "郵箱已被其他使用者使用", + "phoneUsedByOther": "手機號已被其他使用者使用" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/mobile_app.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/mobile_app.json new file mode 100644 index 000000000..be960e88c --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/mobile_app.json @@ -0,0 +1,10 @@ +{ + "notExist": "移動端應用配置不存在", + "notEnabled": "移動端應用配置未啟用: {0}/{1}", + "appTypeNotFound": "未找到對應的移動端應用端型別: {0}", + "platformNotFound": "未找到對應的移動端平臺: {0}", + "platformNotAllowed": "端型別 {0} 不支援移動平臺 {1}", + "configRequired": "請提交與平臺 {0} 對應的應用配置", + "configPlatformMismatch": "應用配置與平臺 {0} 不匹配", + "alipayCertRequired": "證書模式下請上傳應用公鑰證書、支付寶公鑰證書與根證書" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/notify/notice.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/notify/notice.json new file mode 100644 index 000000000..c8030c723 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/notify/notice.json @@ -0,0 +1,3 @@ +{ + "notExist": "公告不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/capability.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/capability.json new file mode 100644 index 000000000..24ff02c65 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/capability.json @@ -0,0 +1,5 @@ +{ + "notExist": "支付能力不存在", + "duplicateProduct": "關聯支付產品不可重複", + "productNotExist": "支付產品不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/channel.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/channel.json new file mode 100644 index 000000000..4a4d434e1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/channel.json @@ -0,0 +1,10 @@ +{ + "notExist": "支付通道不存在", + "subMchNoExists": "系統中已存在該子商戶號", + "merchantNoChannelPerm": "商戶沒有該通道的許可權,無法新增通道商戶", + "channelMerchantExists": "系統中已存在該通道商戶資訊,不要重複新增", + "onlyDraftCanDelete": "非草稿狀態,不能刪除", + "signVerifyFailIllegal": "簽名驗證失敗,非法請求", + "channelMerchantNotExist": "通道商戶資訊不存在", + "merchantInfoNotFound": "未查詢到商戶資訊" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/login.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/login.json new file mode 100644 index 000000000..7b7af46b4 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/login.json @@ -0,0 +1,5 @@ +{ + "mchDisabled": "該商戶已停用", + "noAdminPermUseMerchant": "您沒有運營端的許可權,請使用商戶端登入", + "noMerchantPerm": "您沒有商戶端的登入許可權" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/merchant.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/merchant.json new file mode 100644 index 000000000..17971db1d --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/merchant.json @@ -0,0 +1,33 @@ +{ + "mchNoGenFailed": "商戶號生成失敗", + "accountOrPhoneNotFound": "未找到該賬號或繫結手機資訊", + "accountOrPhoneError": "賬號或手機號資訊不正確", + "dataErrorNoMchNo": "資料錯誤, 未發現商戶號", + "mchNotExist": "商戶資訊不存在", + "mchAppNotFound": "商戶應用未找到", + "appNoGenFailed": "應用號生成失敗", + "mchAppNoMatch": "商戶和應用號不匹配", + "mchNotAllowDelete": "商戶不允許刪除", + "cannotOperateCurrentUser": "無法對當前使用者進行操作", + "merchantNotExist": "商戶不存在", + "accountExists": "該賬號已存在", + "mchUserRelationNotExist": "商戶使用者關聯資訊不存在", + "defaultAppNotConfigured": "商戶未配置預設應用", + "defaultAppConfigNotFound": "未找到商戶預設應用配置", + "specifiedAppConfigNotFound": "未找到指定的應用配置", + "specifiedMchConfigNotFound": "未找到指定的商戶配置", + "adminRoleNotExist": "商戶管理員角色不存在, 請檢查", + "apiConfigNotExist": "商戶API配置不存在", + "storeNotFound": "門店資訊不存在", + "storeNoGenFailed": "門店號生成失敗", + "storeNoMatch": "門店不屬於當前商戶", + "wxVerifyNotFound": "微信域名驗證檔案不存在", + "wxVerifyFileNameEmpty": "微信域名驗證檔名為空", + "wxVerifyFileNameInvalid": "微信域名驗證檔名格式不正確,應為 MP_verify_隨機字串.txt", + "wxVerifyFileReadFailed": "微信域名驗證檔案讀取失敗", + "wxVerifyFileContentEmpty": "微信域名驗證檔案內容為空", + "wxVerifyFileContentTooLong": "微信域名驗證檔案內容過長", + "wxVerifyCodeDuplicate": "該驗證檔案已存在,請勿重複上傳", + "wxVerifyUploadNotSupported": "當前終端不支援上傳微信域名驗證檔案", + "wxVerifyNoMatch": "微信域名驗證檔案不屬於當前商戶" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/method.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/method.json new file mode 100644 index 000000000..be38f4840 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/method.json @@ -0,0 +1,5 @@ +{ + "notExist": "支付方式不存在", + "duplicateProvider": "關聯支付渠道不可重複", + "providerNotExist": "支付渠道不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/order.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/order.json new file mode 100644 index 000000000..5aa306001 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/order.json @@ -0,0 +1,12 @@ +{ + "unsupportedBarcodeType": "不支援的條碼型別", + "merchantNoRefundPermission": "該商戶沒有退款許可權", + "payOrderNotExist": "支付訂單不存在", + "payOrderExtNotExist": "支付訂單擴充套件資訊不存在", + "refundOrderNotExist": "退款訂單不存在", + "refundOrderExtNotExist": "退款訂單擴充套件資訊不存在", + "refundPayOrderNotExist": "退款訂單關聯支付訂單不存在", + "tradeFlowNotExist": "交易流水記錄不存在", + "callbackTaskNotExist": "商戶回撥通知任務不存在", + "subscribeRecordNotExist": "商戶訂閱通知記錄不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/product.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/product.json new file mode 100644 index 000000000..9e242fc97 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/payment/product.json @@ -0,0 +1,5 @@ +{ + "notExist": "支付產品不存在", + "duplicateCapability": "支付能力編碼重複", + "capabilityNotExist": "支付能力不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/dict.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/dict.json new file mode 100644 index 000000000..786aac7d2 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/dict.json @@ -0,0 +1,7 @@ +{ + "codeExists": "字典編碼已存在", + "notExist": "字典不存在", + "hasItems": "字典下有字典項,不能刪除", + "itemCodeDuplicate": "字典項編碼重複", + "itemNotExist": "字典項不存在" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/oss.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/oss.json new file mode 100644 index 000000000..e4b42ba7a --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/oss.json @@ -0,0 +1,8 @@ +{ + "incomplete": "OSS 配置不完整, 請填寫服務端點、儲存桶與金鑰", + "checkSuccess": "OSS 連通性檢查通過", + "checkFailed": "OSS 連通性檢查失敗, 狀態碼: {0}", + "authFailed": "OSS 認證失敗, 請檢查 AccessKey / SecretKey", + "bucketNotFound": "儲存桶不存在, 請檢查公開/私有桶名稱", + "networkError": "無法連線物件儲存, 請檢查端點與網路" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/protocol.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/protocol.json new file mode 100644 index 000000000..04d8e7115 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/protocol.json @@ -0,0 +1,12 @@ +{ + "defaultCannotDelete": "預設協議不可刪除", + "notExist": "使用者協議不存在", + "itemNotExist": "使用者協議項不存在", + "defaultItemNotExist": "該型別下不存在預設協議", + "versionNotExist": "使用者協議版本不存在", + "draftOnlyCanEdit": "僅草稿狀態的版本可編輯", + "draftOnlyCanDelete": "僅草稿狀態的版本可刪除", + "draftOnlyCanPublish": "僅草稿狀態的版本可釋出", + "publishedOnlyCanArchive": "僅已釋出狀態的版本可歸檔", + "sameClientType": "目標端型別與源端型別一致" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/url.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/url.json new file mode 100644 index 000000000..b5d3535bc --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/error/system/url.json @@ -0,0 +1,7 @@ +{ + "notConfigured": "訪問地址未配置", + "checkSuccess": "連通性檢查通過", + "checkFailed": "連通性檢查失敗, HTTP 狀態碼: {0}", + "echoMismatch": "連通性檢查失敗, 後端 echo 響應不符合預期", + "networkError": "網路不通, 請檢查地址是否正確或服務是否可達" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/log.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/log.json new file mode 100644 index 000000000..a2801c3f8 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/log.json @@ -0,0 +1,13 @@ +{ + "pay": { + "create": "建立支付訂單,訂單號:{0},金額:{1}", + "success": "支付成功,訂單號:{0},金額:{1}", + "close": "支付關閉,訂單號:{0}", + "fail": "支付失敗,訂單號:{0},原因:{1}" + }, + "refund": { + "create": "建立退款,訂單號:{0},退款金額:{1}", + "success": "退款成功,訂單號:{0}", + "fail": "退款失敗,訂單號:{0},原因:{1}" + } +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/notification.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/notification.json new file mode 100644 index 000000000..4a4b6a8f1 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/notification.json @@ -0,0 +1,6 @@ +{ + "paySuccessTitle": "支付成功通知", + "paySuccessBody": "您的訂單 {0} 已支付成功,金額 {1}", + "refundSuccessTitle": "退款成功通知", + "refundSuccessBody": "您的訂單 {0} 已退款成功,金額 {1}" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/env.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/env.json new file mode 100644 index 000000000..2bfa225bf --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/env.json @@ -0,0 +1,3 @@ +{ + "sandboxDisabled": "沙箱環境已被系統關閉,無法切換" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/error.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/error.json new file mode 100644 index 000000000..2349fb560 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/error.json @@ -0,0 +1,111 @@ +{ + "payFailure": "支付失敗", + "timeout": "支付超時,訂單號:{0}", + "notExists": "交易不存在", + "closed": "交易已關閉", + "processing": "交易處理中,請勿重複操作", + "statusError": "交易狀態錯誤", + "failed": "交易失敗", + "channelNotExist": "不存在的支付通道", + "channelNotEnable": "支付通道未啟用", + "unsupportedAbility": "不支援該能力", + "unsupportedAbilityWithDetail": "不支援的能力: {0}", + "amount": { + "exceed": "金額超限", + "invalid": "金額無效" + }, + "signVerifyFail": "驗籤失敗", + "operateFailed": "操作失敗", + "operateProcessing": "操作處理中", + "dataError": "資料錯誤", + "unknown": "未知異常", + "unsupportedOperate": "不支援的操作", + "configNotExist": "配置不存在", + "configNotEnable": "配置未啟用", + "configError": "配置錯誤", + "systemUnknown": "未知異常,系統無法處理", + "unsupportedPayMethod": "不支援的支付方式: {0}", + "methodNotExist": "不存在的支付方式", + "methodNotEnable": "支付方式未啟用", + "otherMethodRequired": "其他支付方法不能為空", + "orderNoRequired": "支付訂單號不能都為空", + "pay": { + "timeoutRetry": "支付已超時,請重新確認支付狀態", + "alreadySuccess": "已經支付成功,請勿重新支付", + "failedOrClosed": "該訂單支付失敗或已經被關閉", + "refunding": "該訂單處於退款狀態", + "statusAbnormal": "訂單支付狀態異常,請重新確認訂單狀態", + "expiredTimeError": "支付超時時間設定有誤, 請檢查!", + "closeNotPaying": "訂單不是支付中, 無法進行關閉訂單", + "closeProcessing": "支付訂單已在關閉中,請勿重複發起", + "closeFailed": "關閉訂單失敗", + "syncNotStarted": "訂單未開始支付, 請重新確認支付狀態", + "syncProcessing": "支付同步處理中,請勿重複操作", + "processing": "支付處理中,請勿重複操作" + }, + "gateway": { + "cashierNotReady": "收銀臺支付尚未開放", + "typeMismatch": "閘道器訂單型別不匹配", + "sceneNotSupport": "不支援的收銀場景", + "sceneNotConfigured": "該場景未配置支付方式", + "aggregateConfigMissing": "應用未配置聚合掃碼支付", + "aggregateScenesRequired": "當前配置深度下場景配置不能為空", + "aggregateSceneBlank": "場景編碼不能為空", + "aggregateSceneMethodRequired": "指定支付方式時,每個開啟環境的支付方式必填", + "aggregateSceneChannelMchRequired": "指定通道商戶時,每個開啟環境的通道商戶號必填", + "aggregateSceneCapabilityRequired": "指定通道商戶時,每個開啟環境的支付能力必填", + "channelLocked": "訂單已鎖定支付方式,請勿切換", + "cashierSceneRequired": "H5收銀臺必須指定終端場景", + "cashierItemNotFound": "收銀臺支付項不存在", + "cashierItemAppIdImmutable": "收銀臺支付項應用號不可修改", + "cashierItemMethodRequired": "指定支付方式時支付方式必填", + "cashierItemChannelMchRequired": "指定通道商戶時通道商戶號必填", + "cashierItemCapabilityRequired": "指定通道商戶時支付能力必填", + "cashierItemNameRequired": "支付項名稱不能為空" + }, + "refund": { + "processing": "退款處理中,請勿重複操作", + "onlyFailRetry": "只有失敗狀態的才可以重新發起退款", + "statusNotAllow": "當前支付單狀態[{0}]不允許發起退款操作", + "refundStatusNotAllow": "當前支付單退款狀態[{0}]不允許發起退款操作", + "noDuplicate": "退款單號已存在", + "amountExceed": "退款金額不能大於支付金額", + "orderNotFound": "未查詢到退款訂單", + "syncProcessing": "退款同步處理中,請勿重複操作", + "noPermission": "該商戶沒有退款許可權" + }, + "callback": { + "processing": "回撥正在處理中,忽略本次回撥請求", + "payNotFound": "支付單不存在,記錄回撥記錄", + "timeout": "回撥時間超出了支付單支付有效時間", + "payAlreadySuccess": "支付單已經是支付成功狀態,不進行處理", + "payNotWaiting": "支付單不是待支付狀態,記錄回撥記錄", + "payCancelled": "支付單已經取消,記錄回撥記錄", + "payStatusIllegal": "支付單狀態非法,支付閘道器狀態為失敗,但支付單狀態為已完成", + "refundNotFound": "退款單不存在,記錄回撥記錄", + "refundAlreadyProcessed": "退款單狀態已處理,記錄回撥記錄", + "transferNotFound": "轉賬單不存在,記錄回撥記錄", + "transferAlreadyProcessed": "轉賬單狀態已處理,記錄回撥記錄" + }, + "assist": { + "mchPublicKeyEmpty": "商戶公鑰為空", + "privateKeyEmpty": "商戶私鑰為空", + "signEmpty": "簽名為空", + "mchNoAppNoMatch": "商戶號和應用號不匹配", + "mchNotOwnApp": "該商戶不擁有該應用", + "mchNotEnabled": "商戶未啟用", + "mchAppNotEnabled": "商戶應用未啟用", + "wechatAuthFail": "微信認證失敗: {0}", + "wechatAuthConfigError": "微信認證配置錯誤: {0}", + "wechatMiniAuthConfigError": "微信小程式認證配置錯誤: {0}", + "signVerifyFailDetail": "驗籤失敗: {0}", + "productOrChannelMchRequired": "支付產品與通道商戶號至少傳入其一", + "channelMchNotFound": "通道商戶[{0}]不存在", + "mchContextMissing": "商戶上下文未裝載,無法進行資料隔離操作" + }, + "verify": { + "methodParamRequired": "支付方法至少有一個引數,並且需要簽名的支付引數放在第一位", + "paramExtendRequired": "引數需要繼承MerchantPaymentCommonParam", + "returnTypeRequired": "支付方法返回型別需要為 DaxResult 型別的物件" + } +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/route/error.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/route/error.json new file mode 100644 index 000000000..741aba831 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/pay/route/error.json @@ -0,0 +1,25 @@ +{ + "strategyNotFound": "應用未配置通道路由策略", + "noMatch": "未匹配到可用支付產品", + "methodRequired": "通道路由下支付方式不能為空", + "providerRequired": "未指定支付產品時,支付渠道不能為空", + "methodRequiredWhenProductSet": "指定支付產品時,支付方式不能為空", + "basicProviderInvalid": "支付渠道無效", + "basicProductNotAvailable": "支付渠道[{0}]下無可用支付產品,請檢查商戶產品、通道商戶及應用通道配置", + "scenePayProviderRequiredForMethod": "非通用支付方式[{0}]須指定支付渠道", + "sceneMethodRequired": "按支付方式配置時須選擇支付方式", + "sceneMethodProductMismatch": "支付方式[{0}]與產品[{1}]不匹配", + "sceneCapabilityRequired": "按支付方式配置時須選擇支付能力", + "sceneCapabilityProductMismatch": "支付能力[{0}]與產品[{1}]、支付方式[{2}]不匹配", + "productStrategyMissing": "支付產品策略不存在", + "routeStrategyNotExist": "通道路由策略不存在", + "routeModeNotExist": "通道路由配置維度不存在: {0}", + "channelMchNoRequired": "通道商戶號不能為空", + "channelMchNotExist": "通道商戶號[{0}]不存在", + "channelMchDisabled": "通道商戶號[{0}]未啟用", + "duplicateSceneMethod": "按支付方式配置下同一支付方式[{0}]存在多條配置", + "sceneChannelMchCapabilityPair": "支付方式[{0}]須同時選擇通道商戶與支付能力,或同時留空", + "basicChannelMchNotConfigured": "支付渠道[{0}]未配置通道商戶,請在通道路由「按渠道預設」中完成配置", + "sceneCapabilityChannelMchMismatch": "支付能力[{0}]與通道商戶[{1}]、支付方式[{2}]不匹配", + "directCapabilityChannelMchMismatch": "支付能力[{0}]與通道商戶[{1}]不匹配" +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/validation.json b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/validation.json new file mode 100644 index 000000000..1dee2fd49 --- /dev/null +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/main/resources/i18n/zh-TW/validation.json @@ -0,0 +1,744 @@ +{ + "notBlank": "{0}不能為空", + "notEmpty": "{0}不能為空", + "lengthRange": "{0}長度必須在{1}到{2}之間", + "min": "{0}不能小於{1}", + "max": "{0}不能大於{1}", + "parameterError": "引數校驗失敗", + "field": { + "source": { + "notBlank": "平臺不能為空" + }, + "clientId": { + "notBlank": "客戶端ID不能為空" + }, + "clientSecret": { + "notBlank": "客戶端金鑰不能為空" + }, + "clientKey": { + "notBlank": "Client Key不能為空" + }, + "clientCode": { + "notBlank": "終端編碼不可為空" + }, + "ip": { + "notValid": "IP地址不合法" + }, + "aliAppId": { + "notBlank": "支付寶商戶appId不可為空" + }, + "authType": { + "notBlank": "認證型別不可為空" + }, + "signType": { + "notBlank": "簽名型別不可為空" + }, + "alipayPublicKey": { + "notBlank": "支付寶公鑰不可為空" + }, + "mchAppPrivateKey": { + "notBlank": "應用私鑰不可為空" + }, + "appSecret": { + "size": "應用金鑰不可超過512位" + }, + "douyinMchId": { + "notBlank": "抖音商戶號不可為空" + }, + "userIdType": { + "notBlank": "使用者標識型別不可為空" + }, + "product": { + "notBlank": "產品編碼不可為空", + "size": "支付產品不可超過32位", + "notNull": "支付產品必填" + }, + "channel": { + "notBlank": "通道編碼不可為空", + "size": "通道不可超過32位" + }, + "sandbox": { + "notNull": "沙箱環境不可為空" + }, + "enable": { + "notNull": "是否啟用不可為空" + }, + "mchNo": { + "notBlank": "商戶號不可為空", + "size": "商戶號不可超過32位", + "notNull": "商戶號不可為空" + }, + "appId": { + "notBlank": "商戶AppId不可為空", + "size": "應用號不可超過32位", + "notNull": "應用ID不可為空" + }, + "channelMchNo": { + "size": "通道商戶號不可超過32位", + "notBlank": "通道商戶號不可為空" + }, + "level": { + "notBlank": "配置深度不可為空", + "size": "配置深度不可超過32位" + }, + "cashierType": { + "notBlank": "收銀臺型別不可為空", + "size": "收銀臺型別不可超過16位" + }, + "resolveMode": { + "notBlank": "解析模式不可為空", + "size": "解析模式不可超過16位" + }, + "icon": { + "size": "圖示編碼不可超過32位" + }, + "itemName": { + "size": "支付項名稱不可超過64位" + }, + "subMchId": { + "notBlank": "微信子商戶號不可為空" + }, + "wxMchId": { + "notBlank": "微信商戶Id不可為空" + }, + "wxAppId": { + "notBlank": "微信應用AppId不可為空" + }, + "publicKeyId": { + "notBlank": "支付公鑰ID不可為空" + }, + "certSerialNo": { + "notBlank": "證書序列號不可為空" + }, + "id": { + "notNull": "主鍵不可為空", + "mustBeNullOnAdd": "Id需要為空" + }, + "alipayIsvAppId": { + "notNull": "支付寶服務商應用ID不可為空" + }, + "alipayDirectAppId": { + "notNull": "支付寶直連應用ID不可為空" + }, + "wechatIsvAppId": { + "notNull": "微信服務商應用ID不可為空" + }, + "account": { + "notBlank": "登入賬號不可為空", + "size": "賬號長度為6-20個字元", + "pattern": "賬號只能包含字母、數字、下劃線和中劃線" + }, + "password": { + "notBlank": "密碼不可為空" + }, + "subjectType": { + "notBlank": "主體型別不可為空" + }, + "pass": { + "notNull": "稽核結果不可為空" + }, + "channelMerchantNo": { + "notBlank": "通道商戶號不可為空" + }, + "channelMerchantName": { + "notBlank": "商戶名稱不可為空" + }, + "appKey": { + "notBlank": "應用金鑰不可為空" + }, + "secretKey": { + "notBlank": "通訊金鑰不可為空" + }, + "tradeIdentity": { + "notBlank": "商戶交易標識不可為空" + }, + "subMchNo": { + "notBlank": "子商戶號不可為空" + }, + "parentMchNo": { + "notBlank": "父級通道商戶號不可為空" + }, + "subMchName": { + "notBlank": "子商戶名稱不可為空" + }, + "orderNo": { + "notBlank": "支付訂單號不可為空", + "size": "支付訂單號不可超過100位" + }, + "amount": { + "notNull": "支付金額不可為空", + "min": "支付金額不能小於1分", + "max": "支付金額不能大於一億元", + "positive": "金額必須大於0" + }, + "title": { + "notBlank": "名稱不可為空", + "size": "支付標題不可超過100位" + }, + "date": { + "notNull": "日期不可為空" + }, + "fileType": { + "notNull": "檔案型別不能為空" + }, + "authCode": { + "notBlank": "標識碼不可為空", + "size": "付款碼不可超過128位" + }, + "clientIp": { + "size": "客戶端ip不可超過64位" + }, + "nonceStr": { + "size": "隨機數不可超過32位" + }, + "sign": { + "size": "簽名不可超過1024位" + }, + "reqTime": { + "notNull": "請求時間必填" + }, + "bizOrderNo": { + "size": "商戶支付訂單號不可超過100位", + "notBlank": "商戶訂單號不可為空" + }, + "description": { + "size": "支付描述不可超過50位", + "notBlank": "支付描述不能為空" + }, + "method": { + "notBlank": "支付方式不可為空", + "size": "支付方式編碼不可超過32位", + "notNull": "支付方式不能為空" + }, + "capability": { + "size": "支付能力編碼不可超過32位", + "notBlank": "支付能力編碼不可為空" + }, + "provider": { + "notBlank": "支付渠道不可為空", + "size": "支付渠道編碼不可超過32位" + }, + "otherMethod": { + "size": "支付方式編碼不可超過128位" + }, + "limitPay": { + "size": "限制使用者支付型別不能超過128位" + }, + "opAppId": { + "size": "opAppId不可超過128位" + }, + "openId": { + "size": "使用者標識不可超過128位" + }, + "terminalNo": { + "size": "終端裝置編碼不可超過128位" + }, + "extraParam": { + "size": "支付擴充套件引數不可超過2048位" + }, + "goodsDetail": { + "size": "商品明細列表不可超過50條" + }, + "goodsId": { + "notBlank": "商品編碼不可為空", + "size": "商品編碼不可超過64位" + }, + "goodsName": { + "notBlank": "商品名稱不可為空", + "size": "商品名稱不可超過256位" + }, + "quantity": { + "notNull": "商品數量不可為空", + "min": "商品數量不能小於1" + }, + "unitPrice": { + "notNull": "商品單價不可為空", + "min": "商品單價不能小於1分", + "max": "商品單價不能大於一億元" + }, + "goodsCategory": { + "size": "商品分類不可超過32位" + }, + "goodsDescription": { + "size": "商品描述不可超過1000位" + }, + "showUrl": { + "size": "商品展示連結不可超過400位" + }, + "attach": { + "size": "商戶擴充套件引數不可超過500位" + }, + "returnUrl": { + "size": "同步通知URL不可超過200位" + }, + "quitUrl": { + "size": "退出地址不可超過200位" + }, + "notifyUrl": { + "size": "非同步通知地址不可超過200位" + }, + "outOrderNo": { + "size": "通道支付訂單號不可超過150位", + "notBlank": "通道支付訂單號不能為空" + }, + "refundNo": { + "notBlank": "退款號不可為空", + "size": "退款號不可超過100位" + }, + "bizRefundNo": { + "size": "商戶退款號不可超過100位", + "notBlank": "商戶退款號不可為空" + }, + "reason": { + "size": "退款原因不可超過50位" + }, + "payeeName": { + "size": "收款人姓名不可超過50位" + }, + "items": { + "notEmpty": "產品配置列表不可為空" + }, + "shortName": { + "notBlank": "簡稱不能為空" + }, + "status": { + "notBlank": "狀態不可為空" + }, + "accountType": { + "notBlank": "賬戶型別不可為空" + }, + "appAuthToken": { + "notBlank": "應用授權令牌不可為空" + }, + "isvAppId": { + "notBlank": "支付寶應用不可為空" + }, + "alipayUserId": { + "notBlank": "子商戶號不可為空" + }, + "accountName": { + "notBlank": "銀行卡賬戶名不可為空" + }, + "cardNo": { + "notBlank": "銀行卡號不可為空" + }, + "bankName": { + "notBlank": "開戶行名稱不可為空" + }, + "cardFrontPic": { + "notBlank": "銀行卡正面照片不可為空" + }, + "legalName": { + "notBlank": "法人姓名不可為空" + }, + "certNo": { + "notBlank": "身份證號不可為空" + }, + "frontPic": { + "notBlank": "身份證人像面照片不可為空" + }, + "backPic": { + "notBlank": "身份證國徽面照片不可為空" + }, + "licenseNo": { + "notBlank": "營業執照號不可為空" + }, + "licenseName": { + "notBlank": "營業執照名稱不可為空" + }, + "licensePic": { + "notBlank": "營業執照照片不可為空" + }, + "appName": { + "notBlank": "應用名稱不可為空", + "notNull": "應用名稱不可為空" + }, + "appType": { + "notBlank": "應用型別不可為空" + }, + "platform": { + "notBlank": "移動平臺不可為空" + }, + "authAppType": { + "notBlank": "認證應用型別不可為空" + }, + "mchName": { + "notBlank": "商戶名稱不可為空" + }, + "mchShortName": { + "notBlank": "商戶簡稱不可為空" + }, + "publicKey": { + "notBlank": "平臺公鑰不能為空,請配置 daxpay.platform.config.key-config.public-key" + }, + "privateKey": { + "notBlank": "平臺私鑰不能為空,請配置 daxpay.platform.config.key-config.private-key" + }, + "phone": { + "notBlank": "手機號不能為空", + "format": "手機號格式不正確" + }, + "roleId": { + "notNull": "角色ID不可為空" + }, + "code": { + "notBlank": "編碼不可為空" + }, + "nameCn": { + "notBlank": "中文名稱不可為空" + }, + "nameEn": { + "notBlank": "英文名稱不可為空" + }, + "menuCode": { + "notBlank": "選單編碼不可為空" + }, + "titleCn": { + "notBlank": "選單標題-中文不可為空" + }, + "titleEn": { + "notBlank": "選單標題-英文不可為空" + }, + "i18nKey": { + "notBlank": "國際化key不可為空" + }, + "userIds": { + "notEmpty": "使用者集合不能為空" + }, + "userId": { + "notNull": "使用者 ID 不能為空" + }, + "newPassword": { + "notBlank": "新密碼不能為空" + }, + "configName": { + "notBlank": "配置名稱不能為空" + }, + "endpoint": { + "notBlank": "服務端點不能為空" + }, + "publicBucket": { + "notBlank": "公開儲存桶不能為空" + }, + "privateBucket": { + "notBlank": "私有儲存桶不能為空" + }, + "urlType": { + "notBlank": "端點型別不能為空" + }, + "systemName": { + "size": "系統名稱長度不能超過{max}個字元" + }, + "companyName": { + "size": "公司全稱長度不能超過{max}個字元" + }, + "companyEmail": { + "email": "郵箱格式不正確" + }, + "companyWechat": { + "size": "微訊號長度不能超過{max}個字元" + }, + "copyright": { + "size": "版權資訊長度不能超過{max}個字元" + }, + "icpLink": { + "pattern": "連結必須以 http:// 或 https:// 開頭" + }, + "mpsLink": { + "pattern": "連結必須以 http:// 或 https:// 開頭" + }, + "pcacLink": { + "pattern": "連結必須以 http:// 或 https:// 開頭" + }, + "icpPlusLink": { + "pattern": "連結必須以 http:// 或 https:// 開頭" + }, + "dictId": { + "notNull": "字典ID不可為空" + }, + "protocolId": { + "notNull": "協議id不能為空" + }, + "content": { + "notBlank": "協議內容不能為空" + }, + "showName": { + "notBlank": "顯示名稱不能為空" + }, + "type": { + "notBlank": "型別不能為空" + }, + "clientType": { + "notBlank": "端型別不能為空" + }, + "language": { + "notBlank": "語言不能為空" + }, + "email": { + "notBlank": "郵箱不可為空", + "format": "郵箱格式不正確" + }, + "realName": { + "notBlank": "姓名不可為空" + }, + "regionCode": { + "notBlank": "區劃程式碼不可為空" + }, + "dictItemId": { + "notNull": "字典項主鍵不可為空" + }, + "configItems": { + "notEmpty": "配置項不可為空" + }, + "payOrderId": { + "notNull": "支付訂單ID不可為空" + }, + "orderId": { + "notNull": "訂單ID不可為空" + }, + "fileId": { + "notNull": "檔案ID不可為空" + }, + "objectKey": { + "notBlank": "物件Key不可為空" + }, + "sessionIds": { + "notEmpty": "會話ID列表不可為空" + }, + "orderSource": { + "mustBeNull": "訂單來源欄位不允許進行設定" + }, + "minLengthNotGreaterThanMax": { + "assertTrue": "最小長度不能大於最大長度" + }, + "captchaFailCountNotGreaterThanMax": { + "assertTrue": "觸發驗證碼的失敗次數不能大於最大失敗次數" + }, + "queryCode": { + "notBlank": "查詢碼不可為空" + }, + "authToken": { + "notBlank": "認證會話碼不可為空", + "size": "認證會話碼不可超過64位" + }, + "returnPath": { + "size": "來源回跳路徑不可超過200位" + }, + "taskId": { + "notNull": "訊息ID不可為空" + }, + "deleteDay": { + "notNull": "天數不可為空" + }, + "menuId": { + "notNull": "選單ID不可為空" + }, + "oldPassword": { + "notBlank": "舊密碼不能為空" + }, + "scene": { + "notNull": "訊息場景不能為空", + "size": "場景編碼不可超過32位" + }, + "demoContent": { + "notBlank": "訊息內容不能為空" + }, + "delaySeconds": { + "min": "延時秒數不能小於1", + "max": "延時秒數不能大於300" + }, + "name": { + "notBlank": "名稱不可為空", + "size": "名稱長度必須在3到15之間" + }, + "enabled": { + "notNull": "是否啟用不可為空" + }, + "storeNo": { + "size": "門店編號不可超過64位" + }, + "operatorId": { + "size": "操作員ID不可超過64位" + }, + "deviceName": { + "size": "裝置名稱不可超過128位" + }, + "deviceIp": { + "size": "裝置IP不可超過64位" + }, + "douyinAppId": { + "notBlank": "抖音應用ID不可為空" + }, + "douyinDirectAppId": { + "notNull": "抖音直連應用ID不可為空" + }, + "dyMchId": { + "notBlank": "抖音商戶號不可為空" + }, + "wechatDirectAppId": { + "notNull": "微信直連應用ID不可為空" + }, + "wechatIsvMchAppId": { + "notNull": "微信服務商通道商戶應用ID不可為空" + }, + "storeName": { + "notBlank": "門店名稱不能為空" + }, + "deviceSn": { + "notBlank": "裝置序列號不能為空" + }, + "deviceType": { + "notBlank": "裝置型別不能為空" + }, + "vendorCode": { + "notBlank": "廠商程式碼不能為空" + }, + "vendorConfigId": { + "notNull": "廠商配置不能為空" + }, + "qrCodeName": { + "notBlank": "碼牌名稱不能為空", + "size": "碼牌名稱不可超過100位" + }, + "amountType": { + "notBlank": "金額型別不能為空" + }, + "batchNo": { + "notBlank": "批次號不能為空", + "size": "批次號不可超過64位" + }, + "count": { + "notNull": "建立數量不能為空", + "min": "建立數量不能小於1", + "max": "建立數量不能大於999" + }, + "ids": { + "notEmpty": "請選擇碼牌" + }, + "twoFactorCode": { + "notBlank": "動態驗證碼不能為空" + }, + "preAuthToken": { + "notBlank": "預認證令牌不能為空" + }, + "remark": { + "size": "備註不可超過255位" + }, + "lklAppId": { + "notBlank": "拉卡拉應用編號不可為空" + }, + "mchSerialNo": { + "notBlank": "商戶證書序列號不可為空" + }, + "orgCode": { + "notBlank": "機構程式碼不可為空" + }, + "orgId": { + "notBlank": "機構ID不能為空" + }, + "vbillMchNo": { + "notBlank": "天闕商戶號不能為空" + }, + "lakalaMchNo": { + "notBlank": "拉卡拉商戶號不可為空" + }, + "termNo": { + "notBlank": "終端號不可為空", + "size": "終端號不可超過64位" + }, + "agentNo": { + "notBlank": "服務商編號不可為空" + }, + "accessId": { + "notBlank": "接入機構標識不可為空" + }, + "merchNo": { + "notBlank": "海科商戶號不可為空" + }, + "pn": { + "notBlank": "SAAS終端號不可為空" + }, + "sysId": { + "notBlank": "服務商系統ID不可為空" + }, + "productId": { + "notBlank": "產品號不可為空" + }, + "merchantNo": { + "notBlank": "匯付商戶號不可為空" + }, + "dougongAppId": { + "notBlank": "商戶AppId不可為空" + }, + "sandAppId": { + "notBlank": "杉德代理號不可為空" + }, + "credential": { + "notNull": "通道憑證不能為空" + }, + "outTradeNo": { + "notBlank": "通道交易號不能為空" + }, + "outRefundNo": { + "notBlank": "通道退款號不能為空" + }, + "outRequestNo": { + "notBlank": "通道請求號不能為空" + }, + "tradeNo": { + "notBlank": "平臺交易號不能為空" + }, + "tradeProduct": { + "notBlank": "交易產品不能為空" + }, + "relationOrderNo": { + "notBlank": "關聯訂單號不能為空" + }, + "refundAmount": { + "notNull": "退款金額不能為空", + "positive": "退款金額必須大於0" + }, + "subject": { + "notBlank": "支付標題不能為空" + }, + "callbackBody": { + "notBlank": "回撥報文不能為空" + }, + "callbackType": { + "notBlank": "回撥型別不能為空" + }, + "rawData": { + "notBlank": "原始資料不能為空" + }, + "orderCreateTime": { + "notBlank": "訂單建立時間不能為空" + }, + "orgReqDate": { + "notBlank": "原始請求日期不能為空" + }, + "originOutTradeNo": { + "notBlank": "原通道交易號不能為空" + }, + "config": { + "notNull": "配置不能為空" + }, + "fuyouMchNo": { + "notBlank": "富友商戶號不能為空" + }, + "fyAppId": { + "notBlank": "富友應用ID不能為空" + }, + "leshuaOrderId": { + "notBlank": "樂刷訂單號不能為空" + }, + "lsMchNo": { + "notBlank": "樂刷商戶號不能為空" + }, + "fileName": { + "notBlank": "檔名不能為空" + }, + "fileContent": { + "notBlank": "檔案內容不能為空" + } + } +} diff --git a/daxpay-platform/daxpay-platform-common/common-i18n/src/test/java/cn/daxpay/open/platform/common/i18n/source/JsonMessageSourceTest.java b/daxpay-platform/daxpay-platform-common/common-i18n/src/test/java/cn/daxpay/open/platform/common/i18n/source/JsonMessageSourceTest.java index 6532f2c9a..59e2e992e 100644 --- a/daxpay-platform/daxpay-platform-common/common-i18n/src/test/java/cn/daxpay/open/platform/common/i18n/source/JsonMessageSourceTest.java +++ b/daxpay-platform/daxpay-platform-common/common-i18n/src/test/java/cn/daxpay/open/platform/common/i18n/source/JsonMessageSourceTest.java @@ -56,7 +56,7 @@ class JsonMessageSourceTest { @Test void shouldResolveRouteModeNotExistWithPlaceholder() { String message = messageSource.getMessage("pay.route.error.routeModeNotExist", new Object[]{"invalid"}, Locale.CHINA); - assertEquals("路由模式不存在: invalid", message); + assertEquals("通道路由配置维度不存在: invalid", message); } @Test @@ -85,4 +85,20 @@ class JsonMessageSourceTest { String message = messageSource.getMessage("pay.route.error.noMatch", null, Locale.forLanguageTag("zh-Hans")); assertEquals("未匹配到可用支付产品", message); } + + /// 无地区繁体 zh-Hant 默认落到 zh-TW + @Test + void shouldAliasZhHantToZhTw() { + String tw = messageSource.getMessage("pay.route.error.noMatch", null, Locale.forLanguageTag("zh-TW")); + String hant = messageSource.getMessage("pay.route.error.noMatch", null, Locale.forLanguageTag("zh-Hant")); + assertEquals(tw, hant); + } + + /// 澳门映射到香港繁体包 + @Test + void shouldAliasZhMoToZhHk() { + String hk = messageSource.getMessage("pay.route.error.noMatch", null, Locale.forLanguageTag("zh-HK")); + String mo = messageSource.getMessage("pay.route.error.noMatch", null, Locale.forLanguageTag("zh-MO")); + assertEquals(hk, mo); + } } diff --git a/daxpay-platform/daxpay-platform-core/src/main/java/cn/daxpay/open/platform/core/enums/pay/channel/CurrencyEnum.java b/daxpay-platform/daxpay-platform-core/src/main/java/cn/daxpay/open/platform/core/enums/pay/channel/CurrencyEnum.java index cb729c2e4..b8124986a 100644 --- a/daxpay-platform/daxpay-platform-core/src/main/java/cn/daxpay/open/platform/core/enums/pay/channel/CurrencyEnum.java +++ b/daxpay-platform/daxpay-platform-core/src/main/java/cn/daxpay/open/platform/core/enums/pay/channel/CurrencyEnum.java @@ -41,6 +41,6 @@ public enum CurrencyEnum implements I18nSupport { return Arrays.stream(values()) .filter(e -> e.getCode().equals(code)) .findFirst() - .orElseThrow(() -> new DataNotExistException("不存在的币种: " + code)); + .orElseThrow(() -> new DataNotExistException("error.common.currencyNotExist", code)); } }