File:tgoods.html
Method:query.scalar(columns,*where,*order)
用户 'sq_ziqi2024' 登录失败。
数据库执行错误
xmls/news.xmls
$function main(){

}

$sub getCatalog(){
@queryconet=$query(catalog,content);
@queryconet[CatalogId]=$http.get(CatalogId,1);
@
cname=@queryconet.scalar(['CatalogName'],CatalogId={*CatalogId});

$return($empty);
}


//查询内容
$sub getDetails(){
@querycontent=$query(content,content);
@count=@querycontent.scalar(['count(*)'],CatalogId=1);
//@ContentId=@querycontent.scalar(ContentId,Status>0 and CatalogId=1,['Grade desc,ContentId asc']);
@ContentId=$http.get(ContentId,9);
@rowcontent=@querycontent.row(@ContentId);
@Modified=$empty;
$if(@rowcontent<>$null){
@Modified=@rowcontent[Modified];
@Modified=$datetime.fo...