|
@@ -51,29 +51,30 @@ omgpay:
|
|
|
retry-delay-ms: 300000
|
|
retry-delay-ms: 300000
|
|
|
round-budget-seconds: 45
|
|
round-budget-seconds: 45
|
|
|
|
|
|
|
|
-# 普通业务推送通道(默认沿用 uniPush)
|
|
|
|
|
|
|
+# 普通业务推送配置固定在本地;三端密码/topic来自各自APNs JSON的pwd/packetName。
|
|
|
|
|
+# 当前业务通道仍沿用uniPush,测试接口可独立发送原生推送;切换通道需直接修改mode并重启。
|
|
|
business-push:
|
|
business-push:
|
|
|
- mode: "${BUSINESS_PUSH_MODE:uni}"
|
|
|
|
|
- apns-environment: "${BUSINESS_PUSH_APNS_ENVIRONMENT:production}"
|
|
|
|
|
|
|
+ mode: uni
|
|
|
|
|
+ apns-environment: production
|
|
|
apps:
|
|
apps:
|
|
|
user:
|
|
user:
|
|
|
- fcm-credentials-path: "${BUSINESS_PUSH_USER_FCM_CREDENTIALS_PATH:classpath:business-push/user-fcm-service-account.json}"
|
|
|
|
|
- apns-certificate-path: "${BUSINESS_PUSH_USER_APNS_CERTIFICATE_PATH:classpath:business-push/user-apns.p12}"
|
|
|
|
|
- apns-config-path: "${BUSINESS_PUSH_USER_APNS_CONFIG_PATH:classpath:business-push/user-apns-config.json}"
|
|
|
|
|
- apns-certificate-password: "${BUSINESS_PUSH_USER_APNS_CERTIFICATE_PASSWORD:}"
|
|
|
|
|
- apns-topic: "${BUSINESS_PUSH_USER_APNS_TOPIC:}"
|
|
|
|
|
|
|
+ fcm-credentials-path: "classpath:business-push/user-fcm-service-account.json"
|
|
|
|
|
+ apns-certificate-path: "classpath:business-push/user-apns.p12"
|
|
|
|
|
+ apns-config-path: "classpath:business-push/user-apns-config.json"
|
|
|
|
|
+ apns-certificate-password: "1234"
|
|
|
|
|
+ apns-topic: "com.twanmsdyh.app"
|
|
|
merchant:
|
|
merchant:
|
|
|
- fcm-credentials-path: "${BUSINESS_PUSH_MERCHANT_FCM_CREDENTIALS_PATH:classpath:business-push/merchant-fcm-service-account.json}"
|
|
|
|
|
- apns-certificate-path: "${BUSINESS_PUSH_MERCHANT_APNS_CERTIFICATE_PATH:classpath:business-push/merchant-apns.p12}"
|
|
|
|
|
- apns-config-path: "${BUSINESS_PUSH_MERCHANT_APNS_CONFIG_PATH:classpath:business-push/merchant-apns-config.json}"
|
|
|
|
|
- apns-certificate-password: "${BUSINESS_PUSH_MERCHANT_APNS_CERTIFICATE_PASSWORD:}"
|
|
|
|
|
- apns-topic: "${BUSINESS_PUSH_MERCHANT_APNS_TOPIC:}"
|
|
|
|
|
|
|
+ fcm-credentials-path: "classpath:business-push/merchant-fcm-service-account.json"
|
|
|
|
|
+ apns-certificate-path: "classpath:business-push/merchant-apns.p12"
|
|
|
|
|
+ apns-config-path: "classpath:business-push/merchant-apns-config.json"
|
|
|
|
|
+ apns-certificate-password: "1234"
|
|
|
|
|
+ apns-topic: "com.twanmsdsj.app"
|
|
|
rider:
|
|
rider:
|
|
|
- fcm-credentials-path: "${BUSINESS_PUSH_RIDER_FCM_CREDENTIALS_PATH:classpath:business-push/rider-fcm-service-account.json}"
|
|
|
|
|
- apns-certificate-path: "${BUSINESS_PUSH_RIDER_APNS_CERTIFICATE_PATH:classpath:business-push/rider-apns.p12}"
|
|
|
|
|
- apns-config-path: "${BUSINESS_PUSH_RIDER_APNS_CONFIG_PATH:classpath:business-push/rider-apns-config.json}"
|
|
|
|
|
- apns-certificate-password: "${BUSINESS_PUSH_RIDER_APNS_CERTIFICATE_PASSWORD:}"
|
|
|
|
|
- apns-topic: "${BUSINESS_PUSH_RIDER_APNS_TOPIC:}"
|
|
|
|
|
|
|
+ fcm-credentials-path: "classpath:business-push/rider-fcm-service-account.json"
|
|
|
|
|
+ apns-certificate-path: "classpath:business-push/rider-apns.p12"
|
|
|
|
|
+ apns-config-path: "classpath:business-push/rider-apns-config.json"
|
|
|
|
|
+ apns-certificate-password: "1234"
|
|
|
|
|
+ apns-topic: "com.twanmsdqs.app"
|
|
|
|
|
|
|
|
# IM 即时沟通配置
|
|
# IM 即时沟通配置
|
|
|
im:
|
|
im:
|