Config.php
1002 字节
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
/**
* Demo of Tongji API
* set your information such as USERNAME, PASSWORD ... before use
*/
//*
//preLogin,doLogin URL
define('LOGIN_URL', 'https://api.baidu.com/sem/common/HolmesLoginService');
//Tongji API URL
define('API_URL', 'https://api.baidu.com/json/tongji/v1/ReportService');
//USERNAME
define('USERNAME', '');
//PASSWORD
define('PASSWORD', '');
//TOKEN
define('TOKEN', '');
//UUID, used to identify your device, for instance: MAC address
//define('UUID', '40-8D-5C-41-E5-6D');
define('UUID', '123456');
//ACCOUNT_TYPE
define('ACCOUNT_TYPE', 1); //ZhanZhang:1,FengChao:2,Union:3,Columbus:4
//*/
//站点ID
define('SITEID', '123456');
/* Debug info
define('LOGIN_URL', 'http://10.48.55.235:8443/sem/common/HolmesLoginService');
define('API_URL', 'http://10.95.130.245:8843/gateway/json/tongji/v1/ReportService');
define('USERNAME', 'nscl');
define('PASSWORD', 'Asd123');
define('TOKEN', '09bfeb6f1811a6ec62ed1da7868fcb45');
define('UUID', '123');
define('ACCOUNT_TYPE', 1);
//*/