get orders

This commit is contained in:
苏尹岚
2020-11-17 14:07:43 +08:00
parent fe57e8a76e
commit 869b4f2c35
3 changed files with 61 additions and 37 deletions

View File

@@ -57,3 +57,18 @@ func (c *OrderController) CreateOrder() {
return retVal, "", err
})
}
// @Title 查询订单提现申请
// @Description 查询订单提现申请
// @Param token header string true "认证token"
// @Param orderID query string false "订单号"
// @Param orderType query int false "订单类型1为支付2为提现"
// @Param keyword query string false "关键字"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetOrders [get]
func (c *OrderController) GetOrders() {
c.callGetOrders(func(params *tOrderGetOrdersParams) (retVal interface{}, errCode string, err error) {
return retVal, "", err
})
}