PaymentCenter/app/http/entities/front/pay.go

19 lines
477 B
Go

package front
type PayCommonBody struct {
AppId int64 `json:"app_id" validate:"required"`
Timestamp int64 `json:"timestamp" validate:"required"`
}
type RequestBody struct {
AppId int64 `json:"app_id" validate:"required"`
Timestamp int64 `json:"timestamp" validate:"required"`
Data string `json:"data" validate:"required"`
}
type PayWeb struct {
PayCommonBody
PayChannel int64 `json:"private_key_path"`
Delay int64 `json:"delay"` //延时时间
}