File:pumpcity-detail.html
Method:query.nonQuery(sql)
连接超时时间已到。在尝试使用预登录握手确认时超过了此超时时间。这可能是因为预登录握手失败或服务器未能及时响应。 尝试连接到此服务器时花费的持续时间是 - [Pre-Login] initialization=1;handshake=15646;
数据库执行错误
index.xmls
...alogId={*CatalogId} and TagIds like {#like(%TagIds%)} and AreaId={*AreaId}'],['Grade asc,CreateDate desc'],1);
@list=@tablelist.format(@format);
$return(@list);
}
//分类图片
$sub getGrouppic(CatalogId){
@querylog=$query(catalog,content);
@querylog[CatalogId]=@CatalogId;
@Pic=@querylog.scalar(Pic,['CatalogId={*CatalogId} and Status=1'],['Grade asc,Modified desc']);
$return(@Pic);
}
//资讯详情
$sub newsDetails(){
@querydetail=$query(content,content);
@querydetail[ContentId]=$http.get(id);
@querydetail.nonQuery(['update {**table} set Click=Click+1 where ContentId={*ContentId}']);
@newsmap=@querydetail.map(*,['ContentId={*ContentId}']);
@querylog=$query(catalog,content);
@querylog[CatalogId]=@newsmap[CatalogId];
@CatalogName=@querylog.scalar(CatalogName,['CatalogId={*CatalogId} and Status=1']);
$return($empty);
}
//上一篇下一篇
$sub newsid1(){
@query=$query(content,content);
@querytwo=$query(content,content);
@ContentId=$http.get(id);
@query[ContentId]=@ContentId;
@CatalogId...