作者 lyh

gx

... ... @@ -500,6 +500,15 @@ if (!function_exists('getFileUrl')) {
$url[] = getFileUrl($v);
}
}else{
if(empty($path)){
return '';
}
if((strpos($path,'https://')!== false) || (strpos($path,'http://') !== false)){
return $path;
}
if(substr($path,0,2) == '//'){
return 'https:'.$path;
}
if($location == 1){
$cos = config('filesystems.disks.cos');
$cosCdn = $cos['cdn'];
... ...
... ... @@ -41,6 +41,8 @@ class BaseController extends Controller
$this->manage = $info;
Cache::put(Common::MANAGE_TOKEN . $this->token, $info, 3600 * 6);//更新缓存时间
$this->uid = $info['id'];
//写入操作记录
}
}
... ... @@ -124,4 +126,15 @@ class BaseController extends Controller
$response = response($result,$result_code,$this->header);
throw new HttpResponseException($response);
}
/**
* @remark :操作日志
* @name :userLog
* @author :lyh
* @method :post
* @time :2024/1/17 10:29
*/
public function userLog(){
}
}
... ...