记得上下班打卡 | 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
8179e151
Commit
8179e151
authored
Nov 03, 2021
by
jiangxiulong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
抽奖详情
parent
a2643244
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
6 deletions
+14
-6
ISweetIntegralActivityDrawService.java
...vice/sweet/service/ISweetIntegralActivityDrawService.java
+2
-0
SweetIntegralActivityDrawController.java
...sweet/controller/SweetIntegralActivityDrawController.java
+6
-6
SweetIntegralActivityDrawServiceImpl.java
...et/service/impl/SweetIntegralActivityDrawServiceImpl.java
+6
-0
No files found.
liquidnet-bus-api/liquidnet-service-sweet-api/src/main/java/com/liquidnet/service/sweet/service/ISweetIntegralActivityDrawService.java
View file @
8179e151
...
@@ -26,4 +26,6 @@ public interface ISweetIntegralActivityDrawService extends IService<SweetIntegra
...
@@ -26,4 +26,6 @@ public interface ISweetIntegralActivityDrawService extends IService<SweetIntegra
ResponseDto
<
List
<
IntegralActivityDrawVo
>>
winPrizeUser
(
String
integralActivityId
);
ResponseDto
<
List
<
IntegralActivityDrawVo
>>
winPrizeUser
(
String
integralActivityId
);
ResponseDto
perfectAddress
(
String
drawId
,
String
receivingAddressesId
,
String
receivingName
,
String
receivingPhone
,
String
receivingAddress
);
ResponseDto
perfectAddress
(
String
drawId
,
String
receivingAddressesId
,
String
receivingName
,
String
receivingPhone
,
String
receivingAddress
);
ResponseDto
<
IntegralActivityDrawVo
>
detail
(
String
drawId
);
}
}
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/controller/SweetIntegralActivityDrawController.java
View file @
8179e151
...
@@ -67,16 +67,16 @@ public class SweetIntegralActivityDrawController {
...
@@ -67,16 +67,16 @@ public class SweetIntegralActivityDrawController {
return
activityDrawService
.
winPrizeUser
(
integralActivityId
);
return
activityDrawService
.
winPrizeUser
(
integralActivityId
);
}
}
/*@GetMapping("detail/{draw_i
d}")
@GetMapping
(
"detail/{drawI
d}"
)
@ApiOperation
(
"抽奖详情"
)
@ApiOperation
(
"抽奖详情"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam(type = "
query", dataType = "String", name = "integralActivityId", value = "活动i
d", required = true)
@ApiImplicitParam
(
type
=
"
path"
,
dataType
=
"String"
,
name
=
"drawId"
,
value
=
"drawI
d"
,
required
=
true
)
})
})
public ResponseDto<
SweetIntegralActivityPrizeVo> create
(
public
ResponseDto
<
IntegralActivityDrawVo
>
detail
(
@
RequestParam("integralActivityId") String integralActivity
Id
@
PathVariable
(
"drawId"
)
String
draw
Id
)
{
)
{
return activityDrawService.
create(integralActivity
Id);
return
activityDrawService
.
detail
(
draw
Id
);
}
*/
}
@PostMapping
(
"perfectAddress"
)
@PostMapping
(
"perfectAddress"
)
@ApiOperation
(
"中奖完善收货地址"
)
@ApiOperation
(
"中奖完善收货地址"
)
...
...
liquidnet-bus-service/liquidnet-service-sweet/src/main/java/com/liquidnet/service/sweet/service/impl/SweetIntegralActivityDrawServiceImpl.java
View file @
8179e151
...
@@ -243,6 +243,12 @@ public class SweetIntegralActivityDrawServiceImpl extends ServiceImpl<SweetInteg
...
@@ -243,6 +243,12 @@ public class SweetIntegralActivityDrawServiceImpl extends ServiceImpl<SweetInteg
return
ResponseDto
.
success
();
return
ResponseDto
.
success
();
}
}
@Override
public
ResponseDto
<
IntegralActivityDrawVo
>
detail
(
String
drawId
)
{
IntegralActivityDrawVo
drawVo
=
redisDataUtils
.
getIntegralActivityDrawInfo
(
drawId
);
return
ResponseDto
.
success
(
drawVo
);
}
/**
/**
* 抽奖方法
* 抽奖方法
*/
*/
...
...
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