切换导航条
此项目
正在载入...
登录
何书鹏
/
salarycalculator
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
差异文件
浏览文件
作者
Karson
4 years ago
提交
4493a69b80044907239f6a45a2ed369a377dffc3
2 个父辈
8058ba31
cd99b2d1
Merge remote-tracking branch 'origin/master'
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
12 行增加
和
6 行删除
application/admin/lang/zh-cn/general/attachment.php
application/common/model/Attachment.php
application/admin/lang/zh-cn/general/attachment.php
查看文件 @
4493a69
...
...
@@ -13,6 +13,12 @@ return [
'Filename'
=>
'文件名'
,
'Filesize'
=>
'文件大小'
,
'Mimetype'
=>
'Mime类型'
,
'Image'
=>
'图片'
,
'Audio'
=>
'音频'
,
'Video'
=>
'视频'
,
'Text'
=>
'文档'
,
'Application'
=>
'应用'
,
'Zip'
=>
'压缩包'
,
'Extparam'
=>
'透传数据'
,
'Createtime'
=>
'创建日期'
,
'Uploadtime'
=>
'上传时间'
,
...
...
application/common/model/Attachment.php
查看文件 @
4493a69
...
...
@@ -24,12 +24,12 @@ class Attachment extends Model
public
static
function
getMimetypeList
()
{
$data
=
[
"image/*"
=>
"图片"
,
"audio/*"
=>
"音频"
,
"video/*"
=>
"视频"
,
"text/*"
=>
"文档"
,
"application/*"
=>
"应用"
,
"zip,rar,7z,tar"
=>
"压缩包"
,
"image/*"
=>
__
(
"Image"
),
"audio/*"
=>
__
(
"Audio"
),
"video/*"
=>
__
(
"Video"
),
"text/*"
=>
__
(
"Text"
),
"application/*"
=>
__
(
"Application"
),
"zip,rar,7z,tar"
=>
__
(
"Zip"
),
];
return
$data
;
}
...
...
请
注册
或
登录
后发表评论