Skip to content

Commit

Permalink
build
Browse files Browse the repository at this point in the history
  • Loading branch information
kuaifan committed Dec 10, 2021
1 parent 8e68824 commit dbd99e1
Show file tree
Hide file tree
Showing 117 changed files with 11,077 additions and 8,176 deletions.
7 changes: 3 additions & 4 deletions app/Http/Controllers/Api/FileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -420,13 +420,12 @@ public function content__upload()
'doc', 'docx' => "word",
'xls', 'xlsx' => "excel",
'ppt', 'pptx' => "ppt",

'wps' => "wps", //
'wps' => "wps",
'jpg', 'jpeg', 'png', 'gif', 'bmp', 'ico', 'raw' => "picture",
'rar', 'zip', 'jar', '7-zip', 'tar', 'gzip', '7z' => "archive",
'tif', 'tiff' => "tif", //
'tif', 'tiff' => "tif",
'dwg', 'dxf' => "cad",
'ofd' => "ofd", //
'ofd' => "ofd",
'pdf' => "pdf",
'txt' => "txt",
'html', 'htm', 'asp', 'jsp', 'xml', 'json', 'properties', 'md', 'gitignore', 'log', 'java', 'py', 'c', 'cpp', 'sql', 'sh', 'bat', 'm', 'bas', 'prg', 'cmd',
Expand Down
24 changes: 12 additions & 12 deletions app/Http/Controllers/Api/SystemController.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function setting()
}

/**
* @api {get} api/system/demo 获取演示账号
* @api {get} api/system/demo 02. 获取演示账号
*
* @apiVersion 1.0.0
* @apiGroup system
Expand All @@ -80,7 +80,7 @@ public function demo()
}

/**
* @api {post} api/system/priority 02. 获取优先级、保存优先级
* @api {post} api/system/priority 03. 获取优先级、保存优先级
*
* @apiVersion 1.0.0
* @apiGroup system
Expand Down Expand Up @@ -125,7 +125,7 @@ public function priority()
}

/**
* @api {get} api/system/get/info 03. 获取终端详细信息
* @api {get} api/system/get/info 04. 获取终端详细信息
*
* @apiVersion 1.0.0
* @apiGroup system
Expand Down Expand Up @@ -154,7 +154,7 @@ public function get__info()
}

/**
* @api {get} api/system/get/ip 04. 获取IP地址
* @api {get} api/system/get/ip 05. 获取IP地址
*
* @apiVersion 1.0.0
* @apiGroup system
Expand All @@ -169,7 +169,7 @@ public function get__ip() {
}

/**
* @api {get} api/system/get/cnip 05. 是否中国IP地址
* @api {get} api/system/get/cnip 06. 是否中国IP地址
*
* @apiVersion 1.0.0
* @apiGroup system
Expand All @@ -186,7 +186,7 @@ public function get__cnip() {
}

/**
* @api {get} api/system/get/ipgcj02 06. 获取IP地址经纬度
* @api {get} api/system/get/ipgcj02 07. 获取IP地址经纬度
*
* @apiVersion 1.0.0
* @apiGroup system
Expand All @@ -203,7 +203,7 @@ public function get__ipgcj02() {
}

/**
* @api {get} api/system/get/ipinfo 07. 获取IP地址详细信息
* @api {get} api/system/get/ipinfo 08. 获取IP地址详细信息
*
* @apiVersion 1.0.0
* @apiGroup system
Expand All @@ -220,7 +220,7 @@ public function get__ipinfo() {
}

/**
* @api {get} api/system/get/appinfo 08. 获取应用下载信息
* @api {get} api/system/get/appinfo 09. 获取应用下载信息
*
* @apiVersion 1.0.0
* @apiGroup system
Expand Down Expand Up @@ -277,7 +277,7 @@ public function get__appinfo() {
}

/**
* @api {get} api/system/get/appdown 09. 下载应用
* @api {get} api/system/get/appdown 10. 下载应用
*
* @apiVersion 1.0.0
* @apiGroup system
Expand All @@ -295,7 +295,7 @@ public function get__appdown() {
}

/**
* @api {post} api/system/imgupload 10. 上传图片
* @api {post} api/system/imgupload 11. 上传图片
*
* @apiDescription 需要token身份
* @apiVersion 1.0.0
Expand Down Expand Up @@ -345,7 +345,7 @@ public function imgupload()
}

/**
* @api {get} api/system/get/imgview 11. 浏览图片空间
* @api {get} api/system/get/imgview 12. 浏览图片空间
*
* @apiDescription 需要token身份
* @apiVersion 1.0.0
Expand Down Expand Up @@ -441,7 +441,7 @@ public function imgview()
}

/**
* @api {post} api/system/fileupload 12. 上传文件
* @api {post} api/system/fileupload 13. 上传文件
*
* @apiDescription 需要token身份
* @apiVersion 1.0.0
Expand Down
3 changes: 1 addition & 2 deletions cmd
Original file line number Diff line number Diff line change
Expand Up @@ -198,8 +198,7 @@ if [ $# -gt 0 ]; then
[ -z "$(env_get APP_KEY)" ] && run_exec php "php artisan key:generate"
run_exec php "php artisan migrate --seed"
run_exec php "php bin/run --mode=prod"
docker-compose stop
docker-compose start
docker-compose up -d
echo -e "${OK} ${GreenBG} 安装完成 ${Font}"
echo -e "地址: http://${GreenBG}127.0.0.1:$(env_get APP_PORT)${Font}"
run_exec mariadb "sh /etc/mysql/repassword.sh"
Expand Down
10,296 changes: 10,295 additions & 1 deletion public/css/app.css

Large diffs are not rendered by default.

Loading

0 comments on commit dbd99e1

Please sign in to comment.