File:pumpcity-detail.html
Method:query.nonQuery(sql)
已成功与服务器建立连接,但是在登录前的握手期间发生错误。 (provider: Shared Memory Provider, error: 0 - 管道的另一端上无任何进程。)
数据库执行错误
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...