记得上下班打卡 | 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
25c36134
Commit
25c36134
authored
Jun 09, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
banner update
parent
b84bb1bd
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
100 additions
and
88 deletions
+100
-88
KylinBannersAdminController.java
...ontroller/zhengzai/kylin/KylinBannersAdminController.java
+24
-1
create.html
...in/resources/templates/zhengzai/kylin/banners/create.html
+16
-33
update.html
...in/resources/templates/zhengzai/kylin/banners/update.html
+60
-54
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/kylin/KylinBannersAdminController.java
View file @
25c36134
...
@@ -16,7 +16,6 @@ import org.springframework.beans.factory.annotation.Autowired;
...
@@ -16,7 +16,6 @@ import org.springframework.beans.factory.annotation.Autowired;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.ui.ModelMap
;
import
org.springframework.ui.ModelMap
;
import
org.springframework.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
import
java.util.List
;
...
@@ -118,7 +117,31 @@ public class KylinBannersAdminController extends BaseController {
...
@@ -118,7 +117,31 @@ public class KylinBannersAdminController extends BaseController {
public
String
update
(
@PathVariable
(
"bannersId"
)
String
bannersId
,
ModelMap
mmap
)
{
public
String
update
(
@PathVariable
(
"bannersId"
)
String
bannersId
,
ModelMap
mmap
)
{
KylinBannersVo
result
=
null
;
KylinBannersVo
result
=
null
;
result
=
kylinBannersServiceImpl
.
detail
(
bannersId
);
result
=
kylinBannersServiceImpl
.
detail
(
bannersId
);
List
<
Object
>
bannersTargetType
=
BannersTargetType
.
getResultType
();
List
<
Object
>
bannersDisplayLocation
=
BannersDisplayLocation
.
getResultType
();
mmap
.
put
(
"KylinBannersVo"
,
result
);
mmap
.
put
(
"KylinBannersVo"
,
result
);
mmap
.
put
(
"BannersTargetType"
,
bannersTargetType
);
mmap
.
put
(
"BannersDisplayLocation"
,
bannersDisplayLocation
);
mmap
.
put
(
"provinces"
,
provinces
);
mmap
.
put
(
"url1"
,
url1
);
mmap
.
put
(
"url2"
,
url2
);
mmap
.
put
(
"url5"
,
url5
);
mmap
.
put
(
"url6"
,
url6
);
mmap
.
put
(
"url7"
,
url7
);
mmap
.
put
(
"url8"
,
url8
);
mmap
.
put
(
"url13"
,
url13
);
mmap
.
put
(
"url14"
,
url14
);
mmap
.
put
(
"url20"
,
url20
);
mmap
.
put
(
"url21"
,
url21
);
mmap
.
put
(
"url22"
,
url22
);
mmap
.
put
(
"url23"
,
url23
);
mmap
.
put
(
"url24"
,
url24
);
mmap
.
put
(
"url26"
,
url26
);
return
prefix
+
"/update"
;
return
prefix
+
"/update"
;
}
}
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/banners/create.html
View file @
25c36134
<!DOCTYPE html>
<!DOCTYPE html>
<html
lang=
"zh"
xmlns:th=
"http://www.thymeleaf.org"
>
<html
lang=
"zh"
xmlns:th=
"http://www.thymeleaf.org"
>
<head>
<head>
<th:block
th:include=
"include :: header('
提交订单退款
')"
/>
<th:block
th:include=
"include :: header('
添加banner
')"
/>
<th:block
th:include=
"include :: select2-css"
/>
<th:block
th:include=
"include :: select2-css"
/>
<th:block
th:include=
"include :: datetimepicker-css"
/>
<th:block
th:include=
"include :: datetimepicker-css"
/>
</head>
</head>
...
@@ -94,44 +94,27 @@
...
@@ -94,44 +94,27 @@
</div>
</div>
</div>
</div>
</form>
</form>
<div
hidden=
"hidden"
>
<input
type=
"text"
th:value=
"${provinces}"
id=
"provinces"
>
<input
type=
"text"
th:value=
"${url1}"
id=
"url1"
>
<input
type=
"text"
th:value=
"${url2}"
id=
"url2"
>
<input
type=
"text"
th:value=
"${url5}"
id=
"url5"
>
<input
type=
"text"
th:value=
"${url6}"
id=
"url6"
>
<input
type=
"text"
th:value=
"${url7}"
id=
"url7"
>
<input
type=
"text"
th:value=
"${url8}"
id=
"url8"
>
<input
type=
"text"
th:value=
"${url13}"
id=
"url13"
>
<input
type=
"text"
th:value=
"${url14}"
id=
"url14"
>
<input
type=
"text"
th:value=
"${url20}"
id=
"url20"
>
<input
type=
"text"
th:value=
"${url21}"
id=
"url21"
>
<input
type=
"text"
th:value=
"${url22}"
id=
"url22"
>
<input
type=
"text"
th:value=
"${url23}"
id=
"url23"
>
<input
type=
"text"
th:value=
"${url24}"
id=
"url24"
>
<input
type=
"text"
th:value=
"${url26}"
id=
"url26"
>
</div>
</div>
</div>
<th:block
th:include=
"include :: footer"
/>
<th:block
th:include=
"include :: footer"
/>
<th:block
th:include=
"include :: select2-js"
/>
<th:block
th:include=
"include :: select2-js"
/>
<th:block
th:include=
"include :: datetimepicker-js"
/>
<th:block
th:include=
"include :: datetimepicker-js"
/>
<script
type=
"text/javascript"
>
<script
type=
"text/javascript"
>
var
prefix
=
ctx
+
"kylin/banners"
;
var
prefix
=
ctx
+
"kylin/banners"
;
var
provinces
=
$
(
"#provinces"
).
val
()
;
var
provinces
=
"[[${provinces}]]"
;
var
url1
=
$
(
"#url1"
).
val
()
;
var
url1
=
"[[${url1}]]"
;
var
url2
=
$
(
"#url2"
).
val
()
;
var
url2
=
"[[${url2}]]"
;
var
url5
=
$
(
"#url5"
).
val
()
;
var
url5
=
"[[${url5}]]"
;
var
url6
=
$
(
"#url6"
).
val
()
;
var
url6
=
"[[${url6}]]"
;
var
url7
=
$
(
"#url7"
).
val
()
;
var
url7
=
"[[${url7}]]"
;
var
url8
=
$
(
"#url8"
).
val
()
;
var
url8
=
"[[${url8}]]"
;
var
url13
=
$
(
"#url13"
).
val
()
;
var
url13
=
"[[${url13}]]"
;
var
url14
=
$
(
"#url14"
).
val
()
;
var
url14
=
"[[${url14}]]"
;
var
url20
=
$
(
"#url20"
).
val
()
;
var
url20
=
"[[${url20}]]"
;
var
url21
=
$
(
"#url21"
).
val
()
;
var
url21
=
"[[${url21}]]"
;
var
url22
=
$
(
"#url22"
).
val
()
;
var
url22
=
"[[${url22}]]"
;
var
url23
=
$
(
"#url23"
).
val
()
;
var
url23
=
"[[${url23}]]"
;
var
url24
=
$
(
"#url24"
).
val
()
;
var
url24
=
"[[${url24}]]"
;
var
url26
=
$
(
"#url26"
).
val
()
;
var
url26
=
"[[${url26}]]"
;
function
submitHandler
()
{
function
submitHandler
()
{
var
bannersName
=
$
(
'#bannersName'
).
val
();
var
bannersName
=
$
(
'#bannersName'
).
val
();
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/banners/update.html
View file @
25c36134
This diff is collapsed.
Click to expand it.
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