feat: integrated Alipay payment module

This commit is contained in:
RockYang
2023-11-06 17:55:46 +08:00
parent da9d0dc3bc
commit 85c12aa322
26 changed files with 1599 additions and 0 deletions

21
api/store/model/order.go Normal file
View File

@@ -0,0 +1,21 @@
package model
import (
"chatplus/core/types"
"gorm.io/gorm"
)
// Order 充值订单
type Order struct {
BaseModel
UserId uint
ProductId uint
Mobile string
OrderNo string
Subject string
Amount float64
Status types.OrderStatus
Remark string
PayTime int64
DeletedAt gorm.DeletedAt
}