|
@@ -61,7 +61,12 @@ class Article
|
|
|
$appid = $temp[1];
|
|
|
$path = $temp[2];
|
|
|
|
|
|
- $replace[] = array('type' => 7, 'pic_cover' => $pic, 'appid' => $appid, 'path' => $path);
|
|
|
+ $appinfo = Dever::db('content/applet')->one(array('appid' => $appid));
|
|
|
+ if (isset($temp[3]) && $temp[3]) {
|
|
|
+ $appinfo['link'] = $temp[3];
|
|
|
+ }
|
|
|
+
|
|
|
+ $replace[] = array('type' => 7, 'pic_cover' => $pic, 'appid' => $appid, 'path' => $path, 'name' => $appinfo['name'], 'link' => $appinfo['link']);
|
|
|
}
|
|
|
}
|
|
|
}
|