Commit b36770af by 朱继来

调整商品链接

parent ce19df1b
Showing with 9 additions and 1 deletions
......@@ -77,7 +77,15 @@
<td><?= App\Http\Controllers\getGoodsName($v['goods_id']) ?></td>
<?php } else { ?>
<td><?= $v['goods_id'] ?></td>
<td><a href="<?= Config('website.main_url').'goods_'.$v['goods_id'].'.html?ptag=order' ?>" target="_blank"><?= $v['goods_name'] ?></a></td>
<td>
<?php if (strlen($v['goods_id']) == 19) { ?>
<a href="<?= Config('website.main_url').'goods_'.$v['goods_id'].'.html?ptag=order' ?>" target="_blank"><?= $v['goods_name'] ?></a>
<?php } else if ($v['goods_id'] == 0) { ?>
<a><?= $v['goods_name'] ?></a>
<?php } else { ?>
<a href="<?= Config('website.main_url').'item/'.$v['goods_id'].'.html?ptag=order' ?>" target="_blank"><?= $v['goods_name'] ?></a>
<?php } ?>
</td>
<?php } ?>
<td><?= $v['brand_name'] ?></td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment