大象彩票计划

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);
$...
彩宝彩票平台 迪士尼彩乐园app 北京赛车pk10玩法 吉利彩票登陆 迪士尼彩乐园 博发彩票APP下载 桔子彩票注册 帝皇彩票开奖 桔子彩票官网 帝皇彩票开奖