-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetting.php
More file actions
35 lines (31 loc) · 824 Bytes
/
setting.php
File metadata and controls
35 lines (31 loc) · 824 Bytes
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
<?php
/**
* Created by PhpStorm.
* User: wangweilin
* Date: 2015/11/7
* Time: 8:56
*/
/**
* 主动上报统计接口
* service/setting.php
*
* 说明:
* 方法:POST
*
* POST字段 :statis
* setting:ttwindow瀑布流
* POST值:product:产品名称
* imsi: 终端串号
* imei 终端串号
* meid 终端串号
* version:应用版本
* width: 分辨率宽
* height: 分辨率高
*/
require_once 'lib/WriteLog.lib.php';
require_once 'tasks/Records/RecordTask.class.php';
require_once 'public/public.php';
$jsonSetting = isset($_POST['statis'])?$_POST['statis']:'';
Log::write("setting :".$jsonSetting, 'debug');
$rt = new RecordTask();
$rt->saveSetting();