File:register_company.htm
Method:map.get(key,default)
rowg??get
类型不正确
xmls/product.xmls
...=[#
<li>
<a href="{interior_company/*GoodsId}">
<div class="lun_tus defo_img">
<img src="./images/guess.jpg" alt="">
</div>
<div class="lun_texts">
<h1>{*GoodsName}</h1>
<h2>免费注册 最高返税40%</h2>
<h3>{*Price}元注册 </h3>
</div>
</a>
</li>
#];
@querygoods=$query(goods,goods);
@querygoods[GoodsId]=$argv(0,49);
@rowg=@querygoods.map(['GoodsName'],['GoodsId={*GoodsId}']);
@Goodslist=@querygoods.match(['GoodsCode,GoodsName,GoodsId,Pic'],['Status>0 and GoodsId<>{*GoodsId}'],['GoodsName'],5,@
rowg[GoodsName],[',-()[]']);
@GoodsLists=@Goodslist.format(@format);
$if(@Goodslist.count()==0){
@GoodsLists=['<div style="color:#636262;font-size:12px;height:45px;line-height:45px;text-align:center;">对不起,暂无相关产品!</div>'];
}
$return($empty);
}



$sub itemm(){
@GoodsId=$argv(0);
@queryGoods=$query(goods,goods);
@queryGoods[GoodsId]=@GoodsId;
@ItemJson=@queryGoods.scalar(ItemJson,[' GoodsId={*GoodsId}']);
@goodsname=@queryGoods.scalar(Goodsname,[' GoodsId={*GoodsId}']);
@ItemList=$...