修改
This commit is contained in:
parent
d498fc7133
commit
7953eca7c2
@ -47,9 +47,10 @@ func Error(c *gin.Context, err error) {
|
||||
}
|
||||
|
||||
c.JSON(http.StatusOK, Response{
|
||||
Code: Failed,
|
||||
Msg: errMsg,
|
||||
Data: struct{}{},
|
||||
Code: Failed,
|
||||
Status: Failed,
|
||||
Msg: errMsg,
|
||||
Data: struct{}{},
|
||||
})
|
||||
|
||||
c.Abort()
|
||||
|
@ -87,7 +87,7 @@ func UpdateBundleOrderStatusPaid(c *gin.Context) {
|
||||
userInfo := login.GetUserInfoFromC(c)
|
||||
|
||||
if req.Uuid == "" {
|
||||
service.Retry(c, errors.New(common.MissOrderUUID))
|
||||
service.Error(c, errors.New(common.MissOrderUUID))
|
||||
return
|
||||
}
|
||||
|
||||
@ -96,7 +96,7 @@ func UpdateBundleOrderStatusPaid(c *gin.Context) {
|
||||
})
|
||||
|
||||
if detailErr != nil {
|
||||
service.Retry(c, detailErr)
|
||||
service.Error(c, detailErr)
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user