|
@@ -353,6 +353,7 @@ func QueryAccountInOutApply(c *gin.Context) {
|
|
|
// @Security ApiKeyAuth
|
|
// @Security ApiKeyAuth
|
|
|
// @Param accountid query int true "资金账号id"
|
|
// @Param accountid query int true "资金账号id"
|
|
|
// @Param tradeid query int false "成交单号"
|
|
// @Param tradeid query int false "成交单号"
|
|
|
|
|
+// @Param payflag query int false "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止"
|
|
|
// @Success 200 {array} models.QhjPayOrder
|
|
// @Success 200 {array} models.QhjPayOrder
|
|
|
// @Failure 500 {object} app.Response
|
|
// @Failure 500 {object} app.Response
|
|
|
// @Router /Qhj/QueryPayOrder [get]
|
|
// @Router /Qhj/QueryPayOrder [get]
|
|
@@ -362,9 +363,10 @@ func QueryPayOrder(c *gin.Context) {
|
|
|
req := struct {
|
|
req := struct {
|
|
|
ACCOUNTID int64 `form:"accountid" binding:"required"` // 用户id
|
|
ACCOUNTID int64 `form:"accountid" binding:"required"` // 用户id
|
|
|
TRADEID string `form:"tradeid"` // 成交单号
|
|
TRADEID string `form:"tradeid"` // 成交单号
|
|
|
|
|
+ PAYFLAG int32 `form:"payflag"` // 付款标识
|
|
|
}{}
|
|
}{}
|
|
|
a.DoBindReq(&req)
|
|
a.DoBindReq(&req)
|
|
|
- m := models.QhjPayOrder{BUYACCOUNTID: req.ACCOUNTID, TRADEID: req.TRADEID}
|
|
|
|
|
|
|
+ m := models.QhjPayOrder{BUYACCOUNTID: req.ACCOUNTID, TRADEID: req.TRADEID, PAYFLAG: req.PAYFLAG}
|
|
|
a.DoGetDataI(&m)
|
|
a.DoGetDataI(&m)
|
|
|
}
|
|
}
|
|
|
|
|
|