记得上下班打卡 | 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
814934eb
Commit
814934eb
authored
Sep 01, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 admin 权限
parent
b88aeda6
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
6 deletions
+32
-6
details.html
...ources/templates/zhengzai/kylin/performances/details.html
+23
-6
RedisUtil.java
...java/com.liquidnet.common.cache/redis/util/RedisUtil.java
+6
-0
KylinUtils.java
...om/liquidnet/service/consumer/kylin/Utils/KylinUtils.java
+3
-0
No files found.
liquidnet-bus-client/liquidnet-client-admin/liquidnet-client-admin-web/src/main/resources/templates/zhengzai/kylin/performances/details.html
View file @
814934eb
...
...
@@ -9,9 +9,9 @@
<div
class=
"col-sm-12"
>
<div
class=
"tabs-container"
>
<ul
class=
"nav nav-tabs"
>
<li
class=
"active"
><a
data-toggle=
"tab"
href=
"#tab-2"
aria-expanded=
"false"
>
演出详情
</a>
<li
id=
"li-tab-2"
class=
"active"
><a
data-toggle=
"tab"
href=
"#tab-2"
aria-expanded=
"false"
>
演出详情
</a>
</li>
<li
class=
"
"
><a
data-toggle=
"tab"
href=
"#tab-1"
aria-expanded=
"true"
id=
"tab-nav-1"
>
演出数据
</a>
<li
id=
"li-tab-1
"
><a
data-toggle=
"tab"
href=
"#tab-1"
aria-expanded=
"true"
id=
"tab-nav-1"
>
演出数据
</a>
</li>
<!-- <li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">校园分销</a>-->
<!-- </li>-->
...
...
@@ -19,13 +19,13 @@
<!-- </li>-->
<!-- <li class=""><a data-toggle="tab" href="#tab-2" aria-expanded="false">状态管理</a>-->
<!-- </li>-->
<li
class=
"
"
><a
data-toggle=
"tab"
href=
"#tab-6"
aria-expanded=
"false"
onclick=
"refundConfigInfo()"
>
退款管理
</a>
<li
id=
"li-tab-6
"
><a
data-toggle=
"tab"
href=
"#tab-6"
aria-expanded=
"false"
onclick=
"refundConfigInfo()"
>
退款管理
</a>
</li>
<li
class=
"
"
><a
data-toggle=
"tab"
href=
"#tab-3"
aria-expanded=
"false"
onclick=
"memberInfo()"
>
会员信息配置
</a>
<li
id=
"li-tab-3
"
><a
data-toggle=
"tab"
href=
"#tab-3"
aria-expanded=
"false"
onclick=
"memberInfo()"
>
会员信息配置
</a>
</li>
<li
class=
"
"
><a
data-toggle=
"tab"
href=
"#tab-4"
aria-expanded=
"false"
onclick=
"agentInfo()"
>
代理配置
</a>
<li
id=
"li-tab-4
"
><a
data-toggle=
"tab"
href=
"#tab-4"
aria-expanded=
"false"
onclick=
"agentInfo()"
>
代理配置
</a>
</li>
<li
class=
"
"
><a
data-toggle=
"tab"
href=
"#tab-5"
aria-expanded=
"false"
onclick=
"damaiInfo()"
>
大麦配置
</a>
<li
id=
"li-tab-5
"
><a
data-toggle=
"tab"
href=
"#tab-5"
aria-expanded=
"false"
onclick=
"damaiInfo()"
>
大麦配置
</a>
</li>
</ul>
<div
class=
"tab-content"
>
...
...
@@ -254,6 +254,23 @@
const
isShow
=
'[[${kylinPerformanceMisVo.isShow}]]'
;
const
auditStatus
=
'[[${kylinPerformanceMisVo.auditStatus}]]'
;
var
agentFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performances:agent'
)}]];
if
(
agentFlag
==
"hidden"
){
document
.
getElementById
(
"li-tab-4"
).
style
.
display
=
"none"
;
}
var
otherFlag
=
[[
$
{@
permission
.
hasPermi
(
'kylin:performances:other'
)}]];
if
(
otherFlag
==
"hidden"
){
document
.
getElementById
(
"li-tab-1"
).
style
.
display
=
"none"
;
document
.
getElementById
(
"li-tab-2"
).
style
.
display
=
"none"
;
document
.
getElementById
(
"tab-2"
).
style
.
display
=
"none"
;
document
.
getElementById
(
"li-tab-3"
).
style
.
display
=
"none"
;
document
.
getElementById
(
"li-tab-6"
).
style
.
display
=
"none"
;
document
.
getElementById
(
"li-tab-5"
).
style
.
display
=
"none"
;
}
if
(
auditStatus
!=
0
)
{
document
.
getElementsByName
(
"auditBtn"
)[
0
].
style
.
display
=
"none"
;
}
...
...
liquidnet-bus-common/liquidnet-common-cache/liquidnet-common-cache-redis/src/main/java/com.liquidnet.common.cache/redis/util/RedisUtil.java
View file @
814934eb
...
...
@@ -747,6 +747,12 @@ public final class RedisUtil {
return
redisConfig
.
getRedisTemplateByDb
(
15
).
opsForValue
().
get
(
redisKey
);
}
public
boolean
getDB15RedisHasKey
(
String
redisKey
,
String
item
)
{
return
redisConfig
.
getRedisTemplateByDb
(
15
).
opsForSet
().
isMember
(
redisKey
,
item
);
}
public
static
void
main
(
String
[]
args
)
{
String
[]
keys
=
{
"adam:identity:mobile:18518013286"
...
...
liquidnet-bus-service/liquidnet-service-consumer-all/liquidnet-service-consumer-kylin/src/main/java/com/liquidnet/service/consumer/kylin/Utils/KylinUtils.java
View file @
814934eb
...
...
@@ -39,6 +39,9 @@ public class KylinUtils {
KylinOrderTicketVo
data
=
dataSingle
;
BeanUtils
.
copyProperties
(
data
,
voItem
);
List
<
KylinOrderListVo
>
redisData
=
(
List
<
KylinOrderListVo
>)
redisUtil
.
get
(
KylinRedisConst
.
ORDER_LIST
+
userId
);
if
(
redisData
==
null
){
return
false
;
}
if
(
type
==
1
)
{
redisVo
.
add
(
voItem
);
if
(
redisData
.
size
()
>
0
)
{
...
...
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