File:product.xmls
Method:query.scalar(columns,*where,*order)
未指定的错误
越界或超过范围
product.xmls
...
@query=$query(catalog,news);
@query[CatalogId]=$http.argv(2);
@cataid=$http.argv(2);
@cataid1=$http.argv(1);
@cataid2=$http.argv(0);
$if(@cataid1==15&&@cataid2==1){
@MetaKeywords=@query.scalar(MetaKeywords,['Status>0 and CatalogId={*CatalogId}']);
@MetaDescription=@query.scalar(MetaDescription,['Status>0 and CatalogId={*CatalogId}']);
@Title=@query.scalar(Title,['Status>0 and CatalogId={*CatalogId}']);
}
$elseif(@cataid2<>0&&@cataid1==15){
@query[CatalogId]=$http.argv(0);
@MetaKeywords=@query.scalar(MetaKeywords,['Status>0 and CatalogId={*CatalogId}']);
@MetaDescription=@query.scalar(MetaDescription,['Status>0 and CatalogId={*CatalogId}']);
@Title=@query.scalar(Title,['Status>0 and CatalogId={*CatalogId}']);
}
$else{
@MetaKeywords=@query.scalar(MetaKeywords,['Status>0 and CatalogId=78']);
@MetaDescription=@query.scalar(MetaDescription,['Status>0 and CatalogId=78']);
@Title=@query.scalar(Title,['Status>0 and CatalogId=78']);
}
//视频类型
@videotype=@query...