Volcengine_config.php 748 B

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. namespace loyalsoft;
  3. /**
  4. * 火山引擎相关配置文件
  5. * @author gwang
  6. */
  7. class Volcengine_config {
  8. //put your code here
  9. const AppName = "言灵世界";
  10. const AppId = "237519";
  11. const AppKey = "c0a92b022fc76e56d0ab0e66f6e99a48";
  12. const URLScheme = "rangersapplog.bf76a59a23857001";
  13. /**
  14. * 上报一条记录
  15. */
  16. public const ReportOneURL = "https://mcs.snssdk.com/v2/event/json";
  17. /**
  18. * 上报多条记录(max=20)
  19. */
  20. public const ReportListURL = "https://mcs.snssdk.com/v2/event/list";
  21. /**
  22. * 请求的headers
  23. */
  24. public static function Headers() {
  25. return array('Content-Type' => 'application/json',
  26. 'X-MCS-AppKey' => self::AppKey);
  27. }
  28. }