public static class
Plista
extends
Nt_ClientBean<Base_Bean>{
/**
* @param lis 回调监听
*/
public Plista(String imei , Nt_HttpLinstener lis){
String code = DesUtil. randomNum() ;
// url="http://farm.plista.com/api/recommendation/39382/app_android?publickey=8fcc74b1ebda9e955540b7fe&widgetname=app_android&count=4&adcount=2&objectid=398397&clientid="+imei;
url = "http://farm.plista.com/recommendation/?publickey=8fcc74b1ebda9e955540b7fe&widgetname=app_android&count=4&adcount=2&objectid=398397&clientid=357748050299729" ;
httptype = PLISTA ;
cls =Base_Bean. class;
linstener =lis ;
}
* @param lis 回调监听
*/
public Plista(String imei , Nt_HttpLinstener lis){
String code = DesUtil. randomNum() ;
// url="http://farm.plista.com/api/recommendation/39382/app_android?publickey=8fcc74b1ebda9e955540b7fe&widgetname=app_android&count=4&adcount=2&objectid=398397&clientid="+imei;
url = "http://farm.plista.com/recommendation/?publickey=8fcc74b1ebda9e955540b7fe&widgetname=app_android&count=4&adcount=2&objectid=398397&clientid=357748050299729" ;
httptype = PLISTA ;
cls =Base_Bean. class;
linstener =lis ;
}
}
client
.addHeader(
"Accept"
,
"application/json"
)
;
<div
data-widget=
"plista_widget_mobile"
style=
"
float:left;
"
></div>
<script
type=
"text/javascript"
>
if (!window.PLISTA || !PLISTA.publickey) {
window.PLISTA = {
publickey: '8fcc74b1ebda9e955540b7fe',
item: {
objectid: "401064", //unique ID, alphanumeric 1137092b50
title: "今年65家上市公司遭交易所处分 公开谴责后一年内不得增发", //max 255 characters
text: "今年9月份的数据显示,两市共计11家公司以及相关当事人受到处分,而去年同期仅有4家深市上市公司受处分", //max 255 characters
url: "http://m.jiemian.com/article/401064.html", //max 1024 characters
img: "http://img.jiemian.com/101/original/20151011/144453691150927000_a290x166.jpg", //max 255 characters
category: '市场特写',
created_at: 1400000000 //UNIX timestamp
}
};
(function(){var n='script',d=document,s=d.createElement(n),s0=d.getElementsByTagName(n)[0];s.async='async';s.type='text/javascript';s.src=
(d.location.protocol==='https:'?'https:':'http:')+'//static.plista.com/async.js';s0.parentNode.insertBefore(s,s0)}());
}
//if possible place this script tag just before the closing body tag
if (!window.PLISTA || !PLISTA.publickey) {
window.PLISTA = {
publickey: '8fcc74b1ebda9e955540b7fe',
item: {
objectid: "401064", //unique ID, alphanumeric 1137092b50
title: "今年65家上市公司遭交易所处分 公开谴责后一年内不得增发", //max 255 characters
text: "今年9月份的数据显示,两市共计11家公司以及相关当事人受到处分,而去年同期仅有4家深市上市公司受处分", //max 255 characters
url: "http://m.jiemian.com/article/401064.html", //max 1024 characters
img: "http://img.jiemian.com/101/original/20151011/144453691150927000_a290x166.jpg", //max 255 characters
category: '市场特写',
created_at: 1400000000 //UNIX timestamp
}
};
(function(){var n='script',d=document,s=d.createElement(n),s0=d.getElementsByTagName(n)[0];s.async='async';s.type='text/javascript';s.src=
(d.location.protocol==='https:'?'https:':'http:')+'//static.plista.com/async.js';s0.parentNode.insertBefore(s,s0)}());
}
//if possible place this script tag just before the closing body tag
</script>