config.ini 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. ___ ___ __ __ __________ ____ ___ _________ ___ ___ __________ ___ _____________
  2. / | \/ \ / \ \______ \ | \/ _____// | \ \______ \/ | \______ \
  3. / ~ \ \/\/ / | ___/ | /\_____ \/ ~ \ | ___/ ~ \ ___/
  4. \ Y /\ / | | | | / / \ Y / | | \ Y / |
  5. \___|_ / \__/\ / |____| |______/ /_______ /\___|_ / |____| \___|_ /|____|
  6. \/ \/ \/ \/ \/
  7. ********************************************************************************************
  8. ********** instruction: 1)two part:private personal data and public url **********
  9. ********** 2)don't change split character such as =/" **********
  10. ********** 3)don't new line for HW_PUSH_TOKEN_ARR **********
  11. ********** 4)Space will be removed, cannot be a variable **********
  12. ********************************************************************************************
  13. ********************************************************************************************
  14. ********** here is private variable personal data,you must change it! **********
  15. ********************************************************************************************
  16. HW_APPID="xxxxx"
  17. HW_APPSECRET="xxxxx"
  18. ### Business Push Token,For common push msg ####
  19. HW_PUSH_TOKEN_ARR="xxxxx"
  20. ### Business Push Token,For IOS apn ####
  21. APN_PUSH_TOKEN_ARR="xxxxx"
  22. ### Business Push Token,For webpush ####
  23. WEBPUSH_PUSH_TOKEN_ARR="xxxxx"
  24. ### FAST APP INFO : different from ordinal app####
  25. HW_FAST_APPID="102612543"
  26. HW_FAST_APPSECRET="07c896089f432163421923bdcab83a8da9d386274be43e61d510c27f56c23269"
  27. HW_FAST_PUSH_TOKEN="AFeXAq0cGG3n-b8Oiksz-g7UGPn2ojinG_Fq-PQJ8tpDf4hQhbOuwQeEOO5sDdfrvxZntrET5kqsu5_SJz_Ai53qtVRZ1-38HkZGPU3d-of_HKU-8g5DnqpNJ-44WV-mpw"
  28. ********************************************************************************************
  29. ********** below is public url entry,please don't modify if not necessary **********
  30. ********************************************************************************************
  31. ### Token Server for push msg and top subscribe/unsubscribe ####
  32. HW_TOKEN_SERVER="https://oauth-login.cloud.huawei.com/oauth2/v2/token"
  33. ### Push Server address ####
  34. HW_PUSH_SERVER="https://push-api.cloud.huawei.com/v1/{appid}/messages:send"
  35. ### Push Server address ####
  36. HW_PUSH_TOKEN_QUERY_SERVER="https://push-api.cloud.huawei.com/v1/{appid}/token:query"
  37. ### Topic Server address ####
  38. HW_TOPIC_SUBSCRIBE_SERVER="https://push-api.cloud.huawei.com/v1/{appid}/topic:subscribe"
  39. HW_TOPIC_UNSUBSCRIBE_SERVER="https://push-api.cloud.huawei.com/v1/{appid}/topic:unsubscribe"
  40. HW_TOPIC_QUERY_SUBSCRIBER_SERVER="https://push-api.cloud.huawei.com/v1/{appid}/topic:list"
  41. ### LogLevel:ERROR(1),WARN(2),INFO(3),DEBUG(4) ####
  42. HW_DEFAULT_LOG_LEVEL=3