记得上下班打卡 | git大法好,push需谨慎
Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
liquidnet-bus-v1
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董敬伟
liquidnet-bus-v1
Commits
b05f1f50
Commit
b05f1f50
authored
Jul 12, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
版本控制上传
parent
ea655e42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
15 additions
and
9 deletions
+15
-9
create.html
...s/templates/zhengzai/kylin/zhengzaiAppVersion/create.html
+6
-4
update.html
...s/templates/zhengzai/kylin/zhengzaiAppVersion/update.html
+9
-5
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/zhengzaiAppVersion/create.html
View file @
b05f1f50
...
...
@@ -79,7 +79,7 @@
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"font-noraml"
>
请上传封面图
</label>
<label
class=
"font-noraml"
>
Android请上传apk文件
</label>
<div
class=
"file-loading"
>
<input
id=
"fileinput-demo-1"
type=
"file"
name=
"files"
data-browse-on-zone-click=
"true"
data-msg-placeholder=
"Select {files} for upload..."
>
...
...
@@ -109,16 +109,18 @@
$
(
function
()
{
$
(
"#fileinput-demo-1"
).
fileinput
({
'theme'
:
'explorer-fas'
,
'uploadUrl'
:
"http://127.0.0.1:9003"
+
"/platform/basicServices/alOss/upload"
,
// 'uploadUrl': "http://127.0.0.1:9003" + "/platform/basicServices/alOss/upload",
'uploadUrl'
:
platformUrl
+
"/platform/basicServices/alOss/upload"
,
"uploadExtraData"
:
{
"pathName"
:
"zhengzaiAppVersion"
"pathName"
:
"zhengzaiAppVersion"
,
"buckType"
:
2
},
autoReplace
:
true
,
dropZoneTitle
:
"请上传文件"
,
maxFileCount
:
1
});
$
(
"#fileinput-demo-1"
).
on
(
"fileuploaded"
,
function
(
event
,
data
,
previewId
,
index
)
{
$
(
"#filePath"
).
val
(
data
.
response
.
uploadp
ath
)
$
(
"#filePath"
).
val
(
data
.
response
.
ossP
ath
)
});
})
</script>
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/zhengzaiAppVersion/update.html
View file @
b05f1f50
...
...
@@ -79,7 +79,7 @@
</div>
</div>
<div
class=
"form-group"
>
<label
class=
"font-noraml"
>
请上传封面图
</label>
<label
class=
"font-noraml"
>
Android请上传apk文件
</label>
<div
class=
"file-loading"
>
<input
id=
"fileinput-demo-1"
type=
"file"
name=
"files"
th:value=
"${ZhengzaiAppVersionsVo.filePath}"
data-browse-on-zone-click=
"true"
data-msg-placeholder=
"Select {files} for upload..."
>
...
...
@@ -113,10 +113,12 @@
$
(
function
()
{
$
(
"#fileinput-demo-1"
).
fileinput
({
'theme'
:
'explorer-fas'
,
// 'uploadUrl': "http://127.0.0.1:9003" + "/platform/basicServices/alOss/upload",
'uploadUrl'
:
platformUrl
+
"/platform/basicServices/alOss/upload"
,
// 'uploadUrl': ctx + "system/user/profile/updateAvatar",
"uploadExtraData"
:
{
"pathName"
:
"zhengzaiAppVersion"
"pathName"
:
"zhengzaiAppVersion"
,
"buckType"
:
2
},
overwriteInitial
:
false
,
initialPreviewAsData
:
true
,
...
...
@@ -125,11 +127,13 @@
maxFileCount
:
1
,
initialPreview
:
[
"https://app.zhengzai.tv/"
+
filePath
]
],
initialPreviewFileType
:
"apk"
,
initialPreviewConfig
:[{
"caption"
:
filePath
,
"downloadUrl"
:
"https://app.zhengzai.tv/"
+
filePath
,
"size"
:
""
,
"key"
:
0
}]
});
$
(
"#fileinput-demo-1"
).
on
(
"fileuploaded"
,
function
(
event
,
data
,
previewId
,
index
)
{
$
(
"#filePath"
).
val
(
data
.
response
.
uploadpath
)
console
.
log
(
data
)
$
(
"#filePath"
).
val
(
data
.
response
.
ossPath
)
});
})
</script>
...
...
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