|
@@ -47,7 +47,12 @@ class Preview
|
|
$html = '<img src="'.$logo.'" width="150">';
|
|
$html = '<img src="'.$logo.'" width="150">';
|
|
|
|
|
|
$table['预览小程序码'] = $html;
|
|
$table['预览小程序码'] = $html;
|
|
- //$table['测试二维码'] = '暂时没有';
|
|
|
|
|
|
+
|
|
|
|
+ if ($type == 1 || $type == 2 || $type == 3 || $type == 6) {
|
|
|
|
+ $link = Dever::url('view.get?type=' . $type . '&id=' . $id, 'h5');
|
|
|
|
+ $table['h5页面'] = '<a href="'.$link.'" target="_blank">点此访问</a>';
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
|
|
if ($type == 3) {
|
|
if ($type == 3) {
|
|
if ($info['url_m3u8']) {
|
|
if ($info['url_m3u8']) {
|