修正友链大小写

This commit is contained in:
liyukun 2022-02-28 15:13:20 +08:00
parent c7255a9efe
commit fa4eeff90d
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@
<script type="text/javascript">
$('#tb_departments').bootstrapTable({
classes: 'table table-bordered table-hover table-striped',
url: '/admin/friendlink/Lst',
url: '/admin/friendl_ink/lst',
method: 'post',
dataType: 'json', // 因为本示例中是跨域的调用,所以涉及到ajax都采用jsonp,
uniqueId: 'id',

View File

@ -150,7 +150,7 @@ if (!function_exists('file_cdn')) {
}
$path = str_replace(public_path(), '', $path);
//转换因为win导致的兼容问题
if(strtoupper(substr(PHP_OS,0,3))==='WIN'){
$path = str_replace( DIRECTORY_SEPARATOR, '/',$path);