|
@@ -95,7 +95,7 @@ class Party extends Model
|
|
|
*/
|
|
|
protected function httpurl($path) {
|
|
|
// 获取当前域名
|
|
|
- if(strpos($path,'http://') === false && strpos($path,'https://') === false) {
|
|
|
+ if(strpos($path,'http://') === false && strpos($path,'https://') === false && strpos($path,'uploads') !== false) {
|
|
|
$host = config("cos")['url'];
|
|
|
$url = $host.$path;
|
|
|
} else {
|