Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
U
upload-apk
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhoujun
upload-apk
Commits
091e0fb6
Commit
091e0fb6
authored
Feb 08, 2021
by
zhoujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传bug
parent
c89723ed
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
8 additions
and
9 deletions
+8
-9
app/Services/Apk/ApkService.php
app/Services/Apk/ApkService.php
+1
-1
app/Services/User/UserService.php
app/Services/User/UserService.php
+1
-1
config/msg.php
config/msg.php
+1
-1
config/session.php
config/session.php
+1
-1
public/js/aetherupload.js
public/js/aetherupload.js
+2
-0
resources/views/common/header.blade.php
resources/views/common/header.blade.php
+1
-1
routes/web.php
routes/web.php
+1
-1
storage/apk/_head/1606358107145.head
storage/apk/_head/1606358107145.head
+0
-1
storage/apk/_head/1606359686437.head
storage/apk/_head/1606359686437.head
+0
-1
storage/apk/_head/1606360014583.head
storage/apk/_head/1606360014583.head
+0
-1
No files found.
app/Services/Apk/ApkService.php
View file @
091e0fb6
...
...
@@ -50,7 +50,7 @@ class ApkService implements IApkService
$row
->
name
=
$postData
[
'name'
];
$row
->
version
=
$postData
[
'version'
];
$row
->
file_url
=
''
;
$row
->
local_url
=
env
(
'UPLOAD_PATH'
)
.
'/'
.
$postData
[
'apk'
];
$row
->
local_url
=
$postData
[
'apk'
];
$md5
=
MD5
(
$this
->
time
.
$row
->
file_url
.
$row
->
local_url
.
$this
->
time
);
$row
->
down_url
=
''
;
...
...
app/Services/User/UserService.php
View file @
091e0fb6
...
...
@@ -81,7 +81,7 @@ class UserService implements IUserService
}
/**
*
严重
用户
*
验证
用户
* @return array
* @date 2020/11/26
* @author live
...
...
config/msg.php
View file @
091e0fb6
...
...
@@ -21,7 +21,7 @@ return [
],
'apk'
=>
[
'3001'
=>
'请上传
过
apk包'
,
'3001'
=>
'请上传apk包'
,
'3002'
=>
'上传apk失败'
,
],
...
...
config/session.php
View file @
091e0fb6
...
...
@@ -29,7 +29,7 @@ return [
|
*/
'lifetime'
=>
env
(
'SESSION_LIFETIME'
,
6
0
),
'lifetime'
=>
env
(
'SESSION_LIFETIME'
,
1008
0
),
'expire_on_close'
=>
false
,
...
...
public/js/aetherupload.js
View file @
091e0fb6
...
...
@@ -197,6 +197,8 @@ var AetherUpload = {
form
.
append
(
"
upload_ext
"
,
this
.
uploadExt
);
form
.
append
(
"
file_name
"
,
this
.
fileName
);
form
.
append
(
"
chunk_total
"
,
this
.
chunkCount
);
form
.
append
(
"
chunk_index
"
,
this
.
i
+
1
);
...
...
resources/views/common/header.blade.php
View file @
091e0fb6
...
...
@@ -35,7 +35,7 @@
</div>
<div
class=
"user-info"
>
<span
class=
"user-name"
>
用户
</span>
<span
class=
"user-profile"
>
{{ Auth::user()->name }}
</span>
<span
class=
"user-profile"
>
{{ Auth::user()->name
?? ''
}}
</span>
</div>
</div>
</div>
...
...
routes/web.php
View file @
091e0fb6
...
...
@@ -24,7 +24,7 @@ Route::group(['prefix' => 'user','middleware' => ['login']],function() {
Route
::
post
(
'/set/status'
,
'UserController@getUserSetStatus'
);
//设置用户状态
});
Route
::
group
([
'prefix'
=>
'apk'
],
function
()
{
Route
::
group
([
'prefix'
=>
'apk'
,
'middleware'
=>
[
'login'
]
],
function
()
{
Route
::
any
(
'/list'
,
'ApkController@getApkList'
);
//apk包列表
Route
::
post
(
'/add'
,
'ApkController@getApkAdd'
);
//新增apk包
Route
::
post
(
'/edit'
,
'ApkController@getApkEdit'
);
//编辑apk包
...
...
storage/apk/_head/1606358107145.head
deleted
100644 → 0
View file @
c89723ed
128
\ No newline at end of file
storage/apk/_head/1606359686437.head
deleted
100644 → 0
View file @
c89723ed
1
\ No newline at end of file
storage/apk/_head/1606360014583.head
deleted
100644 → 0
View file @
c89723ed
1
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment