记得上下班打卡 | 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
6f2ef7ed
Commit
6f2ef7ed
authored
Dec 31, 2021
by
胡佳晨
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
提交 正在下单配置
parent
c49455bc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
23 deletions
+38
-23
GoblinAppZhengzaiService.java
...dnet/service/goblin/service/GoblinAppZhengzaiService.java
+4
-0
GoblinAppZhengzaiController.java
...ervice/goblin/controller/GoblinAppZhengzaiController.java
+13
-0
GoblinZhengzaiController.java
...ce/goblin/controller/manage/GoblinZhengzaiController.java
+13
-23
GoblinAppZhengzaiServiceImpl.java
...ice/goblin/service/impl/GoblinAppZhengzaiServiceImpl.java
+8
-0
No files found.
liquidnet-bus-api/liquidnet-service-goblin-api/src/main/java/com/liquidnet/service/goblin/service/GoblinAppZhengzaiService.java
0 → 100644
View file @
6f2ef7ed
package
com
.
liquidnet
.
service
.
goblin
.
service
;
public
interface
GoblinAppZhengzaiService
{
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/GoblinAppZhengzaiController.java
0 → 100644
View file @
6f2ef7ed
package
com
.
liquidnet
.
service
.
goblin
.
controller
;
import
io.swagger.annotations.Api
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
@Slf4j
@Api
(
tags
=
"正在下单相关"
)
@RestController
@RequestMapping
(
"/zhengzai"
)
public
class
GoblinAppZhengzaiController
{
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/controller/manage/GoblinZhengzaiController.java
View file @
6f2ef7ed
package
com
.
liquidnet
.
service
.
goblin
.
controller
.
manage
;
package
com
.
liquidnet
.
service
.
goblin
.
controller
.
manage
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.base.ResponseDto
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStorePurchaseCommonParam
;
import
com.liquidnet.service.goblin.dto.manage.GoblinStoreZhengzaiCommonParam
;
import
com.liquidnet.service.goblin.dto.vo.GoblinMarketSpuListVo
;
import
com.liquidnet.service.goblin.dto.vo.GoblinMarketSpuListVo
;
import
com.liquidnet.service.goblin.dto.vo.GoblinSelfMarketingVo
;
import
com.liquidnet.service.goblin.dto.vo.GoblinSelfMarketingVo
;
import
com.liquidnet.service.goblin.dto.vo.GoblinSelfZhengzaiSkuVo
;
import
com.liquidnet.service.goblin.dto.vo.GoblinSelfZhengzaiSkuVo
;
...
@@ -76,45 +78,33 @@ public class GoblinZhengzaiController {
...
@@ -76,45 +78,33 @@ public class GoblinZhengzaiController {
return
goblinZhengzaiService
.
zhengzaiSkuList
(
selfMarketId
,
storeId
,
spuId
);
return
goblinZhengzaiService
.
zhengzaiSkuList
(
selfMarketId
,
storeId
,
spuId
);
}
}
@PostMapping
(
"zhengzai/config"
)
@PostMapping
(
"zhengzai/config
/insert
"
)
@ApiOperation
(
"活动详情-正在下单-配置商铺sku"
)
@ApiOperation
(
"活动详情-正在下单-配置商铺sku"
)
@ApiResponse
(
code
=
200
,
message
=
"接口返回对象参数"
)
@ApiResponse
(
code
=
200
,
message
=
"接口返回对象参数"
)
@ApiImplicitParams
({
public
ResponseDto
<
Boolean
>
zhengzaiStoreInsert
(
@RequestBody
GoblinStoreZhengzaiCommonParam
params
)
{
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"商铺id"
,
example
=
"1"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"selfMarketId"
,
value
=
"官方活动id"
,
example
=
"1"
)
return
goblinZhengzaiService
.
zhengzaiSkuInsert
(
params
);
})
public
ResponseDto
<
Boolean
>
zhengzaiStoreInsert
(
@RequestParam
(
"storeId"
)
@Valid
String
storeId
,
@RequestParam
(
"selfMarketId"
)
@Valid
String
selfMarketId
)
{
//todo
return
null
;
}
}
@PostMapping
(
"zhengzai/config"
)
@PostMapping
(
"zhengzai/config
/update
"
)
@ApiOperation
(
"活动详情-正在下单-配置商铺sku"
)
@ApiOperation
(
"活动详情-正在下单-配置商铺sku"
)
@ApiResponse
(
code
=
200
,
message
=
"接口返回对象参数"
)
@ApiResponse
(
code
=
200
,
message
=
"接口返回对象参数"
)
@ApiImplicitParams
({
public
ResponseDto
<
Boolean
>
zhengzaiStoreUpdate
(
@RequestBody
GoblinStoreZhengzaiCommonParam
params
)
{
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"商铺id"
,
example
=
"1"
),
return
goblinZhengzaiService
.
zhengzaiSkuUpdate
(
params
);
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"selfMarketId"
,
value
=
"官方活动id"
,
example
=
"1"
)
})
public
ResponseDto
<
Boolean
>
zhengzaiStoreUpdate
(
@RequestParam
(
"storeId"
)
@Valid
String
storeId
,
@RequestParam
(
"selfMarketId"
)
@Valid
String
selfMarketId
)
{
//todo
return
null
;
}
}
@DeleteMapping
(
"zhengzai/config"
)
@DeleteMapping
(
"zhengzai/config
/del
"
)
@ApiOperation
(
"活动详情-正在下单-删除商铺sku"
)
@ApiOperation
(
"活动详情-正在下单-删除商铺sku"
)
@ApiResponse
(
code
=
200
,
message
=
"接口返回对象参数"
)
@ApiResponse
(
code
=
200
,
message
=
"接口返回对象参数"
)
@ApiImplicitParams
({
@ApiImplicitParams
({
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"商铺id"
,
example
=
"1"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"storeId"
,
value
=
"商铺id"
,
example
=
"1"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"selfMarketId"
,
value
=
"官方活动id"
,
example
=
"1"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"selfMarketId"
,
value
=
"官方活动id"
,
example
=
"1"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"s
kuId"
,
value
=
"sk
uId"
,
example
=
"1"
),
@ApiImplicitParam
(
type
=
"form"
,
required
=
true
,
dataType
=
"String"
,
name
=
"s
puId"
,
value
=
"sp
uId"
,
example
=
"1"
),
})
})
public
ResponseDto
<
Boolean
>
zhengzaiStoreDel
(
@RequestParam
(
"storeId"
)
@Valid
String
storeId
,
public
ResponseDto
<
Boolean
>
zhengzaiStoreDel
(
@RequestParam
(
"storeId"
)
@Valid
String
storeId
,
@RequestParam
(
"selfMarketId"
)
@Valid
String
selfMarketId
,
@RequestParam
(
"selfMarketId"
)
@Valid
String
selfMarketId
,
@RequestParam
(
"skuId"
)
@Valid
String
skuId
)
{
@RequestParam
(
"spuId"
)
@Valid
String
spuId
)
{
//todo
return
goblinZhengzaiService
.
zhengzaiSpuDel
(
selfMarketId
,
storeId
,
spuId
);
return
null
;
}
}
}
}
liquidnet-bus-service/liquidnet-service-goblin/liquidnet-service-goblin-impl/src/main/java/com/liquidnet/service/goblin/service/impl/GoblinAppZhengzaiServiceImpl.java
0 → 100644
View file @
6f2ef7ed
package
com
.
liquidnet
.
service
.
goblin
.
service
.
impl
;
import
com.liquidnet.service.goblin.service.GoblinAppZhengzaiService
;
import
org.springframework.stereotype.Service
;
@Service
public
class
GoblinAppZhengzaiServiceImpl
implements
GoblinAppZhengzaiService
{
}
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