|
@@ -104,10 +104,11 @@ class View
|
|
|
if (!strstr($v['file'], 'http')) {
|
|
|
if (isset($data['config']) && $data['config']['save_type'] >= 3 && isset($data['yun'])) {
|
|
|
$data['file'][$k]['url'] = $data['yun']['host'] . $v['file'];
|
|
|
+ } elseif (strstr($v['file'], '{uploadRes}')) {
|
|
|
+ $data['file'][$k]['url'] = Dever::upload($v['file']);
|
|
|
} else {
|
|
|
$data['file'][$k]['url'] = Dever::upload('{uploadRes}' . $v['file']);
|
|
|
}
|
|
|
-
|
|
|
} else {
|
|
|
$data['file'][$k]['url'] = $v['file'];
|
|
|
}
|