Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gxpt_ht
Overview
Overview
Details
Activity
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
pseer
gxpt_ht
Commits
ba58daa6
Commit
ba58daa6
authored
Jan 20, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into test
parents
4f0a11b4
eb426ecd
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
13 deletions
+2
-13
SOrderController.java
...in/java/share/web/controller/system/SOrderController.java
+2
-5
CancelPay.java
...e-system/src/main/java/share/system/domain/CancelPay.java
+0
-5
SOrder.java
share-system/src/main/java/share/system/domain/SOrder.java
+0
-3
No files found.
share-front/src/main/java/share/web/controller/system/SOrderController.java
View file @
ba58daa6
...
...
@@ -13,18 +13,15 @@ import share.common.core.domain.AjaxResult;
import
share.common.core.domain.R
;
import
share.common.core.redis.RedisUtil
;
import
share.common.utils.JsonConvertUtil
;
import
share.system.domain.CancelPay
;
import
share.system.domain.SConsumer
;
import
share.system.domain.SOrder
;
import
share.system.domain.vo.FrontTokenComponent
;
import
share.system.domain.vo.SOrderVo
;
import
share.system.domain.vo.MqttxVo
;
import
share.system.request.CreateOrderRequest
;
import
share.system.request.OrderComputedPriceRequest
;
import
share.system.request.OrderRefundRequest
;
import
share.system.response.ComputedOrderPriceResponse
;
import
share.system.response.OrderPayResultResponse
;
import
share.system.service.DeviceLogService
;
import
share.system.service.ISOrderService
;
import
share.common.core.page.TableDataInfo
;
...
...
@@ -122,8 +119,8 @@ public class SOrderController extends BaseController
*/
@ApiOperation
(
value
=
"取消支付"
)
@RequestMapping
(
value
=
"/cancelPay"
,
method
=
RequestMethod
.
POST
)
public
R
<
Boolean
>
cancelPay
(
@Request
Body
@Validated
(
CancelPay
.
class
)
SOrder
sOrder
)
{
return
R
.
ok
(
sOrderService
.
cancelPay
(
sOrder
.
getOrderNo
()
));
public
R
<
Boolean
>
cancelPay
(
@Request
Param
(
"orderNo"
)
String
orderNo
)
{
return
R
.
ok
(
sOrderService
.
cancelPay
(
orderNo
));
}
...
...
share-system/src/main/java/share/system/domain/CancelPay.java
deleted
100644 → 0
View file @
4f0a11b4
package
share
.
system
.
domain
;
//取消支付
public
interface
CancelPay
{
}
share-system/src/main/java/share/system/domain/SOrder.java
View file @
ba58daa6
...
...
@@ -10,8 +10,6 @@ import com.baomidou.mybatisplus.annotation.TableLogic;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
org.springframework.validation.annotation.Validated
;
import
share.common.annotation.Excel
;
import
share.common.core.domain.BaseEntity
;
...
...
@@ -36,7 +34,6 @@ public class SOrder extends BaseEntity
/** 订单流水号 */
@Excel
(
name
=
"订单编号"
)
@NotBlank
(
message
=
"订单编号不能为空"
,
groups
=
{
CancelPay
.
class
})
private
String
orderNo
;
@Excel
(
name
=
"商户订单号"
)
...
...
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