Compare commits
3 Commits
1988c49b82
...
49137828da
Author | SHA1 | Date | |
---|---|---|---|
49137828da | |||
e370308b10 | |||
cf18598b96 |
@ -221,7 +221,7 @@ func CreateBundleOrderSignature(c *gin.Context) {
|
||||
//有套餐并且套餐未过期
|
||||
if orderRecordsList.OrderRecords != nil {
|
||||
for _, orderInfo := range orderRecordsList.OrderRecords {
|
||||
if orderInfo.CustomerID == strconv.FormatUint(userInfo.ID, 10) && orderInfo.PayType == 1 {
|
||||
if orderInfo.CustomerID == strconv.FormatUint(userInfo.ID, 10) && orderInfo.Status == 1 {
|
||||
service.Error(c, errors.New(common.ThereAreOutstandingOrders))
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user