123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace loyalsoft;
- /**
- * 火山引擎相关配置文件
- * @author gwang
- */
- class Volcengine_config {
- //put your code here
- const AppName = "言灵世界-test";
- const AppId = "240014";
- const AppKey = "3cfbd123ecd95dd3c999a03d5f2a947a";
- const URLScheme = "rangersapplog.14ab30115886e56e";
- /**
- * 上报一条记录
- */
- const ReportOneURL = "https://mcs.snssdk.com/v2/event/json";
- /**
- * 上报多条记录(max=20)
- */
- const ReportListURL = "https://mcs.snssdk.com/v2/event/list";
- /**
- * 请求的headers
- */
- public static function Headers() {
- return array('Content-Type' => 'application/json',
- 'X-MCS-AppKey' => self::AppKey);
- }
- }
|