记得上下班打卡 | 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
7ce42d5f
Commit
7ce42d5f
authored
Mar 10, 2022
by
胡佳晨
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into hjc
parents
ec09db23
652e1507
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
7 deletions
+19
-7
SweetActiveController.java
.../web/controller/zhengzai/sweet/SweetActiveController.java
+4
-0
category.html
...esources/templates/zhengzai/goblin/category/category.html
+13
-5
application-test.yml
liquidnet-bus-config/liquidnet-config/application-test.yml
+2
-2
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/java/com/liquidnet/client/admin/web/controller/zhengzai/sweet/SweetActiveController.java
View file @
7ce42d5f
...
@@ -57,6 +57,9 @@ import java.util.List;
...
@@ -57,6 +57,9 @@ import java.util.List;
public
class
SweetActiveController
extends
BaseController
{
public
class
SweetActiveController
extends
BaseController
{
private
String
prefix
=
"zhengzai/sweet/qrCode"
;
private
String
prefix
=
"zhengzai/sweet/qrCode"
;
@Value
(
"${liquidnet.client.admin.platformUrl}"
)
private
String
platformUrl
;
@Autowired
@Autowired
private
ISweetAdminActiveTypeService
sweetAdminActiveTypeService
;
private
ISweetAdminActiveTypeService
sweetAdminActiveTypeService
;
...
@@ -131,6 +134,7 @@ public class SweetActiveController extends BaseController {
...
@@ -131,6 +134,7 @@ public class SweetActiveController extends BaseController {
@GetMapping
(
"/addQrCode/{type}"
)
@GetMapping
(
"/addQrCode/{type}"
)
public
String
addQrCode
(
@PathVariable
(
"type"
)
String
type
,
ModelMap
mmap
)
{
public
String
addQrCode
(
@PathVariable
(
"type"
)
String
type
,
ModelMap
mmap
)
{
mmap
.
put
(
"type"
,
type
);
mmap
.
put
(
"type"
,
type
);
mmap
.
put
(
"platformUrl"
,
platformUrl
);
return
prefix
+
"/addQrCode"
;
return
prefix
+
"/addQrCode"
;
}
}
...
...
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/goblin/category/category.html
View file @
7ce42d5f
...
@@ -162,13 +162,16 @@
...
@@ -162,13 +162,16 @@
</div>
</div>
<div class="gitPic">
<div class="gitPic">
<img id="viewImg" src="" alt="" style="max-height:150px;margin-top: 12px;margin-left: 12px;">
<img id="viewImg" src="" alt="" style="max-height:150px;margin-top: 12px;margin-left: 12px;">
<div class="ibox-content" style="border: none;padding-bottom: 0;">
<div class="ibox-content" style="border: none;padding-bottom: 0;display:flex;align-items:center;">
<em style="color:red;margin-right:12px">*</em>
<div class="form-group">
<div class="form-group">
<div class="file-loading">
<div class="file-loading">
<input id="fileinput" type="file" name="file" data-browse-on-zone-click="true" data-theme="fas">
<input id="fileinput" type="file" name="file" data-browse-on-zone-click="true" data-theme="fas">
</div>
</div>
</div>
</div>
<p style="margin-left:12px;">图片尺寸为54PX,比例为1:1</p>
</div>
</div>
</div>
</div>
<div class="bottomBtn">
<div class="bottomBtn">
<a src="javascript:;" class="layui-layer-btn0 paddings" onclick="yes(1,2)">确定</a>
<a src="javascript:;" class="layui-layer-btn0 paddings" onclick="yes(1,2)">确定</a>
...
@@ -313,7 +316,7 @@
...
@@ -313,7 +316,7 @@
name
=
$
(
"#threeIpt"
).
val
();
name
=
$
(
"#threeIpt"
).
val
();
catePid
=
$
(
"#secondTypeSelect"
).
val
();
catePid
=
$
(
"#secondTypeSelect"
).
val
();
}
}
if
(
!
name
)
{
if
(
!
name
||
!
$
(
"#viewImg"
).
attr
(
'src'
)
)
{
return
layer
.
msg
(
'请将必填项填写完整!'
)
return
layer
.
msg
(
'请将必填项填写完整!'
)
}
}
let
data
=
{
let
data
=
{
...
@@ -328,9 +331,14 @@
...
@@ -328,9 +331,14 @@
url
:
'/goblin/category/addSave'
,
url
:
'/goblin/category/addSave'
,
data
,
data
,
success
:
function
(
res
)
{
success
:
function
(
res
)
{
$
(
"pull-right button[type=refresh]"
).
click
();
console
.
log
(
res
,
'121212'
)
closeModal
();
if
(
res
.
code
==
0
)
{
refreshItem
();
$
(
"pull-right button[type=refresh]"
).
click
();
closeModal
();
refreshItem
();
}
else
{
layer
.
msg
(
res
.
msg
)
}
}
}
})
})
...
...
liquidnet-bus-config/liquidnet-config/application-test.yml
View file @
7ce42d5f
...
@@ -130,7 +130,7 @@ liquidnet:
...
@@ -130,7 +130,7 @@ liquidnet:
xxl
:
xxl
:
admin
:
admin
:
addresses
:
172.17.207.177:8090
addresses
:
172.17.207.177:8090
# addresses: 192.168.96.147:8090
# addresses: 192.168.96.147:8090
client
:
client
:
admin
:
admin
:
phpPayUrl
:
http://testdragon.zhengzai.tv
phpPayUrl
:
http://testdragon.zhengzai.tv
...
@@ -213,4 +213,4 @@ liquidnet:
...
@@ -213,4 +213,4 @@ liquidnet:
depositumInfo
:
演出纸质票
depositumInfo
:
演出纸质票
#application-test-end
#application-test-end
\ 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