File:products02.html
Method:query.map(columns,*where,*order)
已成功與服務(wù)器建立連接,但是在登錄前的握手期間發(fā)生錯(cuò)誤。 (provider: SSL Provider, error: 0 - 等待的操作過時(shí)。)
數(shù)據(jù)庫執(zhí)行錯(cuò)誤
xmls/product.xmls
...CatalogId asc'],8);
@listtb=@tablectmn.format(@format);
$return(@listtb);
}
//新產(chǎn)品
$function newsProductname(format,tid){
@querygcata=$query(goods,goods);
@TagIds=[",{@tid},"];
@querygcata[TagIds]=@TagIds;
@tablectmn=@querygcata.table(*,['TagIds like {#like(%TagIds%)} and AreaId=1'],['CatalogId desc,Grade desc']);
@listtb=@tablectmn.format(@format);
$return(@listtb);
}
//查詢內(nèi)容
$sub viewGoods(format){
@queryGoods=$query(goods,goods);
@queryGoods[GoodsCode]=$http.get(gId);
@rowGoods=@queryGoods.map(*,['GoodsCode={*GoodsCode}']);
$if(@rowGoods==$null){
$write.error();
}
@queryGoods[GoodsId]=@rowGoods[GoodsId];
@queryGoods.setField($field(Click,Click+1,object));
@queryGoods.update();
$shell.entry(@rowGoods);
$return($empty);
}
$sub formatGoodsItem(){
@format=[#
<tr class="colo6">
<td class="borl">{*GoodsCode}-{*Pack}</td>
<td><span style=""></span> {@price}</td>
<input type="hidden" value="{@totalprices}" id="{*ItemId}cmbertatals"/>
<td style="col...