File:album.xmls
Method:query.getList(columns,where,order,size,*count,*page)
未指定的错误
越界或超过范围
album.xmls
$out main(){
$shell.running();
$shell.layout(pages/album.htm);
@query=$query(catalog,news);
@albumtype=@query.getList(*,['ParentId=48 and Status>0'],['Grade desc']);
@query=$query(content,news);
@len=$http.argv(0);
@cataid=$http.argv(1);
@t=$http.argv(2);
@query[CatalogId]=@cataid;
@albumlist=@query.getList(*,['Status>0 and CatalogId={*CatalogId}'],['Grade desc,{#idn(0)} desc,CreateDate desc'],@len,@len,1);
@address=$util.config(base,Address);
@tel=$util.config(base,Tel);
@mail=$util.config(base,Mail);
@icp=$util.config(base,Icp);
@yejiao=$util.config(base,foot);
}