Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform
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
youjj
cloud-platform
Commits
90dc8514
Commit
90dc8514
authored
Jun 03, 2019
by
周健威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改回调
parent
fad4b042
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
BaseOrderController.java
...ava/com/xxfc/platform/order/rest/BaseOrderController.java
+4
-2
No files found.
xx-order/xx-order-server/src/main/java/com/xxfc/platform/order/rest/BaseOrderController.java
View file @
90dc8514
...
...
@@ -4,6 +4,7 @@ import cn.hutool.core.bean.BeanUtil;
import
cn.hutool.core.util.StrUtil
;
import
cn.hutool.json.JSONUtil
;
import
com.github.wxiaoqi.security.auth.client.annotation.IgnoreClientToken
;
import
com.github.wxiaoqi.security.auth.client.annotation.IgnoreUserToken
;
import
com.github.wxiaoqi.security.common.context.BaseContextHandler
;
import
com.github.wxiaoqi.security.common.exception.BaseException
;
import
com.github.wxiaoqi.security.common.msg.BaseResponse
;
...
...
@@ -56,7 +57,7 @@ public class BaseOrderController extends CommonBaseController {
@Value
(
"${gateway.order}"
)
String
order
;
String
notifyUrl
=
"/baseOrder/notifyUrl"
;
String
notifyUrl
=
"/baseOrder/
app/unauth/
notifyUrl"
;
public
static
final
Integer
STATUS_SUCCESS
=
1
;
...
...
@@ -101,10 +102,11 @@ public class BaseOrderController extends CommonBaseController {
//.data(PageDataVO.pageInfo(query.getPage(), query.getLimit(), baseOrderBiz.pageByParm(query.getSuper())));
}
@RequestMapping
(
value
=
"/notifyUrl"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
value
=
"/
app/unauth/
notifyUrl"
,
method
=
RequestMethod
.
GET
)
@ResponseBody
@ApiOperation
(
value
=
"订单支付回调"
)
@IgnoreClientToken
@IgnoreUserToken
public
ObjectRestResponse
notifyUrl
(
NotifyUrlDTO
dto
){
//判断是否成功,并且订单是未支付状态,则添加支付编号和修改状态
if
(
StrUtil
.
isNotBlank
(
dto
.
getOrderNo
())){
...
...
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