qnc-server/app/user/cmd/api/desc/pay/pay.api

28 lines
484 B
Plaintext
Raw Normal View History

syntax = "v1"
info (
title: "产品支付服务"
desc: "产品支付服务"
author: "Liangzai"
email: "2440983361@qq.com"
)
type (
PaymentReq {
2024-11-27 01:58:05 +08:00
Id string `json:"id"`
PayMethod string `json:"pay_method"`
}
PaymentResp {
prepayID string `json:"prepay_id"`
2024-11-27 01:58:05 +08:00
OrderID int64 `json:"order_id"`
}
)
2024-11-27 01:58:05 +08:00
type (
IapCallbackReq {
OrderID int64 `json:"order_id" validate:"required"`
TransactionReceipt string `json:"transaction_receipt" validate:"required"`
}
)