File:company/goodsview.htm
Method:map.get(key,default)
map??get
类型不正确
company/company.xmls
...er=$query(user,user);
@GoodsId=$argv(1);
@queryvisit=$query(visit,exposure);
@queryvisit[GoodsId]=@GoodsId;
@id=@queryvisit.insert(1);
@CompanyId=$argv(0);
$if(@GoodsId){
@GoodsId=$argv(1);
}
$else{
@map=@query.dataMap(['select top 1 * from {#0} where1 CompanyId={@CompanyId} and Status>0 order by GoodsId desc']);
@GoodsId=@map[GoodsId];
}
$if(!@GoodsId){
$write.error();
$end();
}
@query[GoodsId]=@GoodsId;
@map=@query.map(*,['{*GoodsId =} and Status>0 ']);
@queryUser[UserId]=@
map[UserId];
@mapUser=@queryUser.map(BusinessType,['{*UserId =}']);
$if(@map){
$if(@map[Video]){
@Cer=$string();
@Cer.append(https://www.chinamedonline.com/);
@Cer.append(@map[Video]);
@map[imgVi]=@Cer;
@map[tpXy]="display:block";
@map[spXy]="display:block";
$if(@map[ProductPic]){
@array=@sionConver(@map[ProductPic]);
@arrays=$array.loadJson(@array);
@img=@arrays.format([#<img src="{*value}" width="530" height="360" />#]);
}

$if(@map[Pic]){
@Pic=@map[Pic];
@imgg=$string();
@...