Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
platform
/
platform-shopmall-parent
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit fcc21eec
authored
Apr 25, 2023
by
刘宇峰
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商品信息通知接口
1 parent
e4097856
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
3 deletions
platform-shopmall-api/src/main/java/cn/com/glsx/admin/api/ShopmallNoticeApiService.java
platform-shopmall-api/src/main/java/cn/com/glsx/admin/api/ShopmallNoticeApiService.java
View file @
fcc21ee
...
@@ -2,31 +2,65 @@ package cn.com.glsx.admin.api;
...
@@ -2,31 +2,65 @@ package cn.com.glsx.admin.api;
import
cn.com.glsx.admin.modules.model.cloudcrane.CloudCraneResponse
;
import
cn.com.glsx.admin.modules.model.cloudcrane.CloudCraneResponse
;
import
cn.com.glsx.admin.modules.model.cloudcrane.request.*
;
import
cn.com.glsx.admin.modules.model.cloudcrane.request.*
;
import
com.glsx.plat.core.annotation.ResponseResultBody
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.http.MediaType
;
import
org.springframework.http.MediaType
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestBody
;
@ResponseResultBody
@FeignClient
(
name
=
"${feign.shopmall.name}"
,
path
=
"${feign.shopmall.path}/open/api/notice"
,
contextId
=
"feignNoticeApiApi"
,
decode404
=
true
)
@FeignClient
(
name
=
"${feign.shopmall.name}"
,
path
=
"${feign.shopmall.path}/open/api/"
,
contextId
=
"feignNoticeApiApi"
,
decode404
=
true
)
public
interface
ShopmallNoticeApiService
{
public
interface
ShopmallNoticeApiService
{
/**
* 商品状态通知接口
*
* @param request
* @return
*/
@PostMapping
(
value
=
"/goodsStatusNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
@PostMapping
(
value
=
"/goodsStatusNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
public
CloudCraneResponse
<
Object
>
goodsStatusNotice
(
@RequestBody
GoodsStatusNoticeRequest
request
);
public
CloudCraneResponse
<
Object
>
goodsStatusNotice
(
@RequestBody
GoodsStatusNoticeRequest
request
);
/**
* 商品价格通知接口
*
* @param request
* @return
*/
@PostMapping
(
value
=
"/goodsPriceNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
@PostMapping
(
value
=
"/goodsPriceNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
public
CloudCraneResponse
<
Object
>
goodsPriceNotice
(
@RequestBody
GoodsPriceNoticeRequest
request
);
public
CloudCraneResponse
<
Object
>
goodsPriceNotice
(
@RequestBody
GoodsPriceNoticeRequest
request
);
/**
* 订单状态通知接口
*
* @param request
* @return
*/
@PostMapping
(
value
=
"/orderStatusNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
@PostMapping
(
value
=
"/orderStatusNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
public
CloudCraneResponse
<
Object
>
orderStatusNotice
(
@RequestBody
OrderStatusNoticeRequest
request
);
public
CloudCraneResponse
<
Object
>
orderStatusNotice
(
@RequestBody
OrderStatusNoticeRequest
request
);
/**
* 物流状态通知接口
*
* @param request
* @return
*/
@PostMapping
(
value
=
"/logisticsStatusNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
@PostMapping
(
value
=
"/logisticsStatusNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
public
CloudCraneResponse
<
Object
>
logisticsStatusNotice
(
@RequestBody
LogisticsStatusNoticeRequest
request
);
public
CloudCraneResponse
<
Object
>
logisticsStatusNotice
(
@RequestBody
LogisticsStatusNoticeRequest
request
);
/**
* 订单发货通知接口
*
* @param request
* @return
*/
@PostMapping
(
value
=
"/orderDeliverNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
@PostMapping
(
value
=
"/orderDeliverNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
public
CloudCraneResponse
<
Object
>
orderDeliverNotice
(
@RequestBody
OrderDeliverNoticeRequest
request
);
public
CloudCraneResponse
<
Object
>
orderDeliverNotice
(
@RequestBody
OrderDeliverNoticeRequest
request
);
/**
* 售后订单通知接口
*
* @param request
* @return
*/
@PostMapping
(
value
=
"/returnOrderNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
@PostMapping
(
value
=
"/returnOrderNotice"
,
produces
=
MediaType
.
APPLICATION_JSON_VALUE
)
public
CloudCraneResponse
<
Object
>
returnOrderNotice
(
@RequestBody
ReturnOrderNoticeRequest
request
);
public
CloudCraneResponse
<
Object
>
returnOrderNotice
(
@RequestBody
ReturnOrderNoticeRequest
request
);
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment