大象彩票计划

File:product-details.htm
Method:map.get(key,default)
rowGoods??get
类型不正确
xmls/brand.xmls
...Id];
@querycata[AreaId]=@AreaId;
@cataname=@querycata.scalar(CatalogName,['CatalogId={*CatalogId} and AreaId={*AreaId}']);
@rowcontent=@querycata.row(@CatalogId);
@Modified=$empty;
$if(@rowcontent<>$null){

}
$else{
@rowcontent=$map();
@rowcontent[Title]=无数据;
}
$shell.put(@rowcontent);
$return($empty);
}

//产品详情
$sub viewGoods(){
@queryGoods=$query(goods,goods);
@Guid=$argv(0,$null);
@queryGoods[GoodsCode]=@Guid;
@rowGoods=@queryGoods.map(*,['GoodsCode={*GoodsCode}']);
$if(
@rowGoods[CAS]==$empty){
@ca=11111-01;

}
$else{
@ca=@rowGoods[CAS];
}
$if(!@rowGoods){
$write.error();
$end();
}
//安全图片
@GHS=$string(@rowGoods[GHScode]);
@gimg=$string();
@GHSs=@GHS.split(\,);
@GHSs.foreach(){
@var=$var[value];
$if(@var){
@gimg.append(["<img src='../files/GHS/{@var}.jpg' class='Ghs'/>"]);
}
}
@queryGoods[GoodsId]=@rowGoods[GoodsId];
@queryGoods.setField($field(Click,Click+1,object));
@queryGoods.update();
@rowGoods[Gimg]=@gimg;
$shell.put(@rowGoods);
$...
博发彩票登陆 帝皇彩票开奖 博发彩票开户 桔子彩票官网 大有彩票开户 K8彩票开户 河北快3代理 大象彩票登入 帝皇彩票平台 左右棋牌