记得上下班打卡 | 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
c6d86971
Commit
c6d86971
authored
Apr 24, 2022
by
GaoHu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
exit 预约文档修改
parent
488c188a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
18 deletions
+14
-18
IGoblinGoodsAnticipateService.java
...service/goblin/service/IGoblinGoodsAnticipateService.java
+0
-3
GoblinGoodsAnticipateController.java
...ce/goblin/controller/GoblinGoodsAnticipateController.java
+10
-10
GoblinGoodsAnticipateMgController.java
.../controller/manage/GoblinGoodsAnticipateMgController.java
+4
-4
GoblinGoodsAnticipateServiceImpl.java
...goblin/service/impl/GoblinGoodsAnticipateServiceImpl.java
+0
-1
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/service/IGoblinGoodsAnticipateService.java
View file @
c6d86971
...
...
@@ -2,9 +2,6 @@ package com.liquidnet.service.goblin.service;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.goblin.dto.manage.vo.HelpValueVo
;
import
com.liquidnet.service.goblin.dto.vo.GoblinGoodsAnticipateHelpVo
;
import
java.util.List
;
/**
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/GoblinGoodsAnticipateController.java
View file @
c6d86971
...
...
@@ -35,16 +35,16 @@ public class GoblinGoodsAnticipateController {
@ApiOperation
(
"用户预约 (只能预约不能取消)"
)
@PostMapping
(
"/userAbout"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
,
example
=
""
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
),
})
public
ResponseDto
<
Boolean
>
userAbout
(
@RequestParam
(
name
=
"skuId"
,
required
=
true
)
String
skuId
)
{
public
ResponseDto
<
Boolean
>
userAbout
(
@RequestParam
(
name
=
"skuId"
)
String
skuId
)
{
return
goblinGoodsAnticipateService
.
userAbout
(
skuId
);
}
@ApiOperation
(
"根据skuId是否预约"
)
@GetMapping
(
"/selectAnticipateBySkuIdAndUid"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
,
example
=
""
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
),
})
public
ResponseDto
<
Boolean
>
selectAnticipate
(
@RequestParam
(
name
=
"skuId"
)
String
skuId
)
{
return
goblinGoodsAnticipateService
.
selectAnticipate
(
skuId
);
...
...
@@ -53,34 +53,34 @@ public class GoblinGoodsAnticipateController {
@ApiOperation
(
"用户分享,根据sku发起助力"
)
@PostMapping
(
"/share"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
,
example
=
""
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
),
})
public
ResponseDto
<
String
>
share
(
@RequestParam
(
name
=
"skuId"
,
required
=
true
)
String
skuId
)
{
public
ResponseDto
<
String
>
share
(
@RequestParam
(
name
=
"skuId"
)
String
skuId
)
{
return
goblinGoodsAnticipateService
.
share
(
skuId
);
}
@ApiOperation
(
"用户为他人助力"
)
@PostMapping
(
"help"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"sid"
,
value
=
"创建分享生成的sid"
,
example
=
""
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"sid"
,
value
=
"创建分享生成的sid"
),
})
public
ResponseDto
<
Boolean
>
help
(
@RequestParam
(
name
=
"sid"
,
required
=
true
)
String
sid
)
{
public
ResponseDto
<
Boolean
>
help
(
@RequestParam
(
name
=
"sid"
)
String
sid
)
{
return
goblinGoodsAnticipateService
.
help
(
sid
);
}
@ApiOperation
(
"获取当前助力信息"
)
@PostMapping
(
"getHelpValue"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"sid"
,
value
=
"创建分享生成的sid"
,
example
=
""
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"sid"
,
value
=
"创建分享生成的sid"
),
})
public
ResponseDto
<
HelpValueVo
>
getHelpValue
(
@RequestParam
(
name
=
"sid"
,
required
=
true
)
String
sid
)
{
public
ResponseDto
<
HelpValueVo
>
getHelpValue
(
@RequestParam
(
name
=
"sid"
)
String
sid
)
{
return
goblinGoodsAnticipateService
.
getHelpValue
(
sid
);
}
@ApiOperation
(
"是否开启助力(返回助力的sid,返回null则没有开启助力)"
)
@GetMapping
(
"getTurnOnHelp"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
,
example
=
""
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
),
})
public
ResponseDto
<
String
>
getTurnOnHelp
(
@RequestParam
(
name
=
"skuId"
)
String
skuId
){
return
goblinGoodsAnticipateService
.
getTurnOnHelp
(
skuId
);
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinGoodsAnticipateMgController.java
View file @
c6d86971
...
...
@@ -50,17 +50,17 @@ public class GoblinGoodsAnticipateMgController {
@ApiOperation
(
"修改预约人数"
)
@PostMapping
(
"/updatePeople"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
,
example
=
""
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"BigInteger"
,
name
=
"people"
,
value
=
"要修改的人数"
,
example
=
""
)
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"BigInteger"
,
name
=
"people"
,
value
=
"要修改的人数"
)
})
public
ResponseDto
<
Boolean
>
updatePeople
(
@RequestParam
(
name
=
"skuId"
,
required
=
true
)
String
skuId
,
@RequestParam
(
name
=
"people"
,
required
=
true
)
BigInteger
people
)
{
public
ResponseDto
<
Boolean
>
updatePeople
(
@RequestParam
(
name
=
"skuId"
)
String
skuId
,
@RequestParam
(
name
=
"people"
,
required
=
true
)
BigInteger
people
)
{
return
goblinGoodsAnticipateMgService
.
updatePeople
(
skuId
,
people
);
}
@ApiOperation
(
"删除预约"
)
@DeleteMapping
(
"/delete"
)
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
,
example
=
""
),
@ApiImplicitParam
(
type
=
"query"
,
dataType
=
"String"
,
name
=
"skuId"
,
value
=
"skuId"
),
})
public
ResponseDto
<
Boolean
>
delete
(
@RequestParam
(
name
=
"skuId"
)
String
skuId
)
{
return
goblinGoodsAnticipateMgService
.
delete
(
skuId
);
...
...
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinGoodsAnticipateServiceImpl.java
View file @
c6d86971
...
...
@@ -20,7 +20,6 @@ import org.apache.commons.lang.StringUtils;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.math.BigInteger
;
import
java.time.Duration
;
import
java.time.LocalDateTime
;
import
java.util.LinkedList
;
...
...
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