|
...
|
...
|
@@ -424,6 +424,8 @@ class Template extends Common{ |
|
|
|
'content'=>$data['content'],
|
|
|
|
'flag'=>$data['class'],
|
|
|
|
'make'=>$data['make'],
|
|
|
|
'force'=>$data['force'] ? 1 : 0,
|
|
|
|
'pro'=>$data['pro'],
|
|
|
|
'cdate'=>time(),
|
|
|
|
);
|
|
|
|
$aid = db('android')->insert($data);
|
|
...
|
...
|
@@ -432,7 +434,7 @@ class Template extends Common{ |
|
|
|
if($data['flag']==3){
|
|
|
|
//推送跟新消息
|
|
|
|
$file_url = 'http://xt03.colorcun.com'.@$data['file_url'];
|
|
|
|
$list= file_get_contents(ON_LINE.'Android.Device.SendNewPackageMessage&version='.$data['version'].'&file_url='.$file_url.'&content='.$data['content'].'&pro='.$data['pro'].'&make='.$data['make']);
|
|
|
|
$list= file_get_contents(ON_LINE.'Android.Device.SendNewPackageMessage&version='.$data['version'].'&file_url='.$file_url.'&content='.$data['content'].'&pro='.$data['pro'].'&make='.$data['make'].'&force='.$data['force']);
|
|
|
|
//$array = json_decode($list,TRUE);
|
|
|
|
}
|
|
|
|
}
|
...
|
...
|
|