Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
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
pseer
gxpt_ht
Commits
661eaaa5
Commit
661eaaa5
authored
Jan 02, 2024
by
吕明尚
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
语音更改
parent
05891d4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
VoiceEnum.java
share-common/src/main/java/share/common/enums/VoiceEnum.java
+5
-5
RedisTask.java
share-quartz/src/main/java/share/quartz/task/RedisTask.java
+3
-4
No files found.
share-common/src/main/java/share/common/enums/VoiceEnum.java
View file @
661eaaa5
...
@@ -2,11 +2,11 @@ package share.common.enums;
...
@@ -2,11 +2,11 @@ package share.common.enums;
public
enum
VoiceEnum
{
public
enum
VoiceEnum
{
//开门欢迎,续费提醒1,续费提醒2,续费成功提醒,送客
//开门欢迎,续费提醒1,续费提醒2,续费成功提醒,送客
OPEN
(
"1"
,
"开门欢迎"
,
"欢迎来到凑角共享棋牌,您的好运时刻已开启,弘扬国粹文化,牌不落地,永不放弃,祝您玩的开心,找客服请扫码关注凑角微信小程序"
),
OPEN
(
"1
01
"
,
"开门欢迎"
,
"欢迎来到凑角共享棋牌,您的好运时刻已开启,弘扬国粹文化,牌不落地,永不放弃,祝您玩的开心,找客服请扫码关注凑角微信小程序"
),
RENEWAL_REMINDER1
(
"
2
"
,
"续费提醒1"
,
"您的房间使用时间还剩15分钟,继续使用,请在小程序进行续单,或联系客服。"
),
RENEWAL_REMINDER1
(
"
104
"
,
"续费提醒1"
,
"您的房间使用时间还剩15分钟,继续使用,请在小程序进行续单,或联系客服。"
),
RENEWAL_REMINDER2
(
"
3
"
,
"续费提醒2"
,
"您的房间使用时间还剩5分钟,系统届时会自动断电,提前拿好随身物品;继续使用,请在小程序进行续单,或联系客服"
),
RENEWAL_REMINDER2
(
"
105
"
,
"续费提醒2"
,
"您的房间使用时间还剩5分钟,系统届时会自动断电,提前拿好随身物品;继续使用,请在小程序进行续单,或联系客服"
),
RENEWAL_SUCCESS
(
"
4
"
,
"续费成功提醒"
,
"您的房间已成功续订,祝您玩的开心,找客服关注凑角微信小程序"
),
RENEWAL_SUCCESS
(
"
103
"
,
"续费成功提醒"
,
"您的房间已成功续订,祝您玩的开心,找客服关注凑角微信小程序"
),
SEND_CUSTOMER
(
"
5
"
,
"送客"
,
"感谢来凑角共享棋牌,您的满意是我们最大的动力,联系客服,送您小惊喜,期待下一次的相遇"
);
SEND_CUSTOMER
(
"
102
"
,
"送客"
,
"感谢来凑角共享棋牌,您的满意是我们最大的动力,联系客服,送您小惊喜,期待下一次的相遇"
);
private
String
code
;
private
String
code
;
private
String
name
;
private
String
name
;
private
String
value
;
private
String
value
;
...
...
share-quartz/src/main/java/share/quartz/task/RedisTask.java
View file @
661eaaa5
...
@@ -193,7 +193,6 @@ public class RedisTask {
...
@@ -193,7 +193,6 @@ public class RedisTask {
}
}
//判断订单是否已经添加保洁记录
//判断订单是否已经添加保洁记录
boolean
b
=
isCleanRecordsService
.
addSCleanRecords
(
sOrder
.
getStoreId
(),
sOrder
.
getRoomId
());
boolean
b
=
isCleanRecordsService
.
addSCleanRecords
(
sOrder
.
getStoreId
(),
sOrder
.
getRoomId
());
if
(
b
)
{
//删除redis中的值
//删除redis中的值
redisUtil
.
delete
(
o
);
redisUtil
.
delete
(
o
);
//推送订单结束消息
//推送订单结束消息
...
@@ -203,7 +202,7 @@ public class RedisTask {
...
@@ -203,7 +202,7 @@ public class RedisTask {
DateUtil
.
format
(
DateUtil
.
offsetMinute
(
new
Date
(),
1
),
DatePattern
.
NORM_DATETIME_PATTERN
),
"1"
);
DateUtil
.
format
(
DateUtil
.
offsetMinute
(
new
Date
(),
1
),
DatePattern
.
NORM_DATETIME_PATTERN
),
"1"
);
//延时3分钟断电
//延时3分钟断电
deviceOpService
.
openOrCloseDevice
(
sOrder
.
getRoomId
(),
sOrder
.
getConsumerPhone
(),
OpTypeEnum
.
CUT_ELECTRIC
.
getCode
(),
true
,
THREE_MINUTES
);
deviceOpService
.
openOrCloseDevice
(
sOrder
.
getRoomId
(),
sOrder
.
getConsumerPhone
(),
OpTypeEnum
.
CUT_ELECTRIC
.
getCode
(),
true
,
THREE_MINUTES
);
}
}
}
});
});
...
@@ -227,8 +226,8 @@ public class RedisTask {
...
@@ -227,8 +226,8 @@ public class RedisTask {
return
false
;
return
false
;
}
}
public
void
yvying
(
Long
roomId
)
{
public
void
yvying
(
Long
roomId
,
String
code
)
{
deviceOpService
.
asyncActionExecute
(
roomId
,
"13724108012"
,
VoiceEnum
.
OPEN
.
getCode
()
,
deviceOpService
.
asyncActionExecute
(
roomId
,
"13724108012"
,
code
,
cn
.
hutool
.
core
.
date
.
DateUtil
.
format
(
new
Date
(),
DatePattern
.
NORM_DATETIME_PATTERN
),
cn
.
hutool
.
core
.
date
.
DateUtil
.
format
(
new
Date
(),
DatePattern
.
NORM_DATETIME_PATTERN
),
cn
.
hutool
.
core
.
date
.
DateUtil
.
format
(
cn
.
hutool
.
core
.
date
.
DateUtil
.
offsetMinute
(
new
Date
(),
1
),
cn
.
hutool
.
core
.
date
.
DateUtil
.
format
(
cn
.
hutool
.
core
.
date
.
DateUtil
.
offsetMinute
(
new
Date
(),
1
),
DatePattern
.
NORM_DATETIME_PATTERN
),
"1"
,
10L
);
DatePattern
.
NORM_DATETIME_PATTERN
),
"1"
,
10L
);
...
...
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