File:product-det.htm
Method:query.map(columns,*where,*order)
語法錯誤 (操作符丟失) 在查詢表達式 'ProductId=' 中。 select top 1 * FROM cpproduct WHERE ProductId=
數據庫執行錯誤
xmls/Customize.xmls
...@query.map(*,['ContentId={*ContentId}']);
@CreateDate=@ContentList[CreateDate];
@TableCatalog=$query(catalog,content);
@CatalogList=@TableCatalog.map(*,['CatalogId={@ContentList[CatalogId]}']);
@dates=@ContentList[CreateDate];
@date=$datetime(@dates);
@year=@date.year();
@month=@date.month();
@day=@date.day();
$return($empty);
}


//Product商品詳情頁 帶相冊圖片
$sub ProductDetailsUrl(){
@query=$query(product,product);
@queryca=$query(catalog,product);
@query[ProductId]=$get(ProductId);
@
table=@query.map(*,['ProductId={*ProductId}']);
//讀取image相冊圖片為@imgs
@cid=@table[CatalogId];
@image=@table[Images];
@queryca[CatalogId]=@cid;
@tableca=@queryca.map(['CatalogName'],['CatalogId={*CatalogId}']);
@json=$datatable.loadJson(@image);
@imgs=$string();
@pic="";
$if(@json<>$empty&&@json<>$null){
@json.foreach(){

@pic=$var[src];

@imgs.append(["
<div class="swiper-slide">
<div class="slide-img"><img src="{@pic}"></div>
</div>
"]);
}

//類別名稱
@queryt=$query(catalog,prod...
老司机午夜在线_精品福利视频一区二区三区_国产免费一区二区三区在线观看_国产91视频网 老司机午夜在线_精品福利视频一区二区三区_国产免费一区二区三区在线观看_欧美网站在线观看 老司机午夜在线_精品福利视频一区二区三区_国产免费一区二区三区在线观看_亚洲一区二区三区中文字幕5566

777--------m.cbhcn.com.cn

573--------m.hfuk.cn

762--------m.hhdcbz.cn

334--------m.xcwypsn.cn

1014--------m.kspc0512.cn

781--------m.huaxinan.com.cn

646--------m.fcbpt.cn

959--------m.entcity.cn

480--------m.afciqrwr.cn

217--------m.zy16888.com.cn