记得上下班打卡 | 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
cba45393
Commit
cba45393
authored
Apr 25, 2025
by
wangyifan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
福袋功能-分配兑换码
parent
07c1a26c
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
126 additions
and
36 deletions
+126
-36
KylinRedisConst.java
...com/liquidnet/service/kylin/constant/KylinRedisConst.java
+2
-0
IKylinLuckyBagService.java
...iquidnet/service/kylin/service/IKylinLuckyBagService.java
+1
-1
KylinLuckyBag.java
...ava/com/liquidnet/service/kylin/entity/KylinLuckyBag.java
+0
-10
KylinLuckyBagController.java
...net/service/kylin/controller/KylinLuckyBagController.java
+2
-5
KylinLuckyBagServiceImpl.java
.../service/kylin/service/impl/KylinLuckyBagServiceImpl.java
+121
-20
No files found.
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/constant/KylinRedisConst.java
View file @
cba45393
...
@@ -126,4 +126,6 @@ public class KylinRedisConst {
...
@@ -126,4 +126,6 @@ public class KylinRedisConst {
// 福袋活动
// 福袋活动
public
static
final
String
LUCKY_BAG_ACTIVITY
=
"kylin:luckybag:activity"
;
public
static
final
String
LUCKY_BAG_ACTIVITY
=
"kylin:luckybag:activity"
;
public
static
final
String
LUCKY_BAG
=
"kylin:luckybag"
;
public
static
final
String
LUCKY_BAG
=
"kylin:luckybag"
;
public
static
final
String
LUCKY_BAG_CODE_LOCK
=
"kylin:luckybag:code:lock:"
;
}
}
liquidnet-bus-api/liquidnet-service-kylin-api/src/main/java/com/liquidnet/service/kylin/service/IKylinLuckyBagService.java
View file @
cba45393
...
@@ -3,5 +3,5 @@ package com.liquidnet.service.kylin.service;
...
@@ -3,5 +3,5 @@ package com.liquidnet.service.kylin.service;
import
com.liquidnet.service.kylin.dto.vo.KylinLuckyBagVo
;
import
com.liquidnet.service.kylin.dto.vo.KylinLuckyBagVo
;
public
interface
IKylinLuckyBagService
{
public
interface
IKylinLuckyBagService
{
KylinLuckyBagVo
getLuckyBagB
enefitsB
yOrderId
(
String
orderId
);
KylinLuckyBagVo
getLuckyBagByOrderId
(
String
orderId
);
}
}
liquidnet-bus-do/liquidnet-service-kylin-do/src/main/java/com/liquidnet/service/kylin/entity/KylinLuckyBag.java
View file @
cba45393
...
@@ -68,16 +68,6 @@ public class KylinLuckyBag implements Serializable, Cloneable{
...
@@ -68,16 +68,6 @@ public class KylinLuckyBag implements Serializable, Cloneable{
*/
*/
private
String
sendTime
;
private
String
sendTime
;
/**
* 福袋发放数量
*/
private
Integer
sendTotal
;
/**
* 发放状态: 0:未解锁 1:已解锁
*/
private
Integer
sendState
;
/**
/**
* 创建时间
* 创建时间
*/
*/
...
...
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/controller/KylinLuckyBagController.java
View file @
cba45393
package
com
.
liquidnet
.
service
.
kylin
.
controller
;
package
com
.
liquidnet
.
service
.
kylin
.
controller
;
import
com.liquidnet.commons.lang.util.JsonUtils
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.kylin.dto.vo.KylinLuckyBagVo
;
import
com.liquidnet.service.kylin.dto.vo.KylinLuckyBagVo
;
import
com.liquidnet.service.kylin.service.IKylinLuckyBagService
;
import
com.liquidnet.service.kylin.service.IKylinLuckyBagService
;
...
@@ -13,8 +12,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
...
@@ -13,8 +12,6 @@ import org.springframework.web.bind.annotation.RequestMapping;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
@Api
(
tags
=
"前端-获取福袋相关"
)
@Api
(
tags
=
"前端-获取福袋相关"
)
@RestController
@RestController
@RequestMapping
(
"/luckyBag"
)
@RequestMapping
(
"/luckyBag"
)
...
@@ -27,7 +24,7 @@ public class KylinLuckyBagController {
...
@@ -27,7 +24,7 @@ public class KylinLuckyBagController {
@GetMapping
(
""
)
@GetMapping
(
""
)
@ApiOperation
(
"获取福袋权益列表"
)
@ApiOperation
(
"获取福袋权益列表"
)
public
ResponseDto
<
KylinLuckyBagVo
>
getLuckyBagB
enefitsB
yOrderId
(
@RequestParam
(
value
=
"orderId"
)
String
orderId
)
{
public
ResponseDto
<
KylinLuckyBagVo
>
getLuckyBagByOrderId
(
@RequestParam
(
value
=
"orderId"
)
String
orderId
)
{
return
ResponseDto
.
success
(
benefitsService
.
getLuckyBagB
enefitsB
yOrderId
(
orderId
));
return
ResponseDto
.
success
(
benefitsService
.
getLuckyBagByOrderId
(
orderId
));
}
}
}
}
liquidnet-bus-service/liquidnet-service-kylin/liquidnet-service-kylin-impl/src/main/java/com/liquidnet/service/kylin/service/impl/KylinLuckyBagServiceImpl.java
View file @
cba45393
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