| 1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- package zhongrong
- import (
- "mtp2_if/global/app"
- "mtp2_if/models"
- "github.com/gin-gonic/gin"
- )
- // QueryInTradePositionTransfer
- // @Summary 获取持仓过户申请表信息 - 我的转入
- // @Produce json
- // @Security ApiKeyAuth
- // @Param userid query int true "用户ID"
- // @Param page query int false "页码"
- // @Param pagesize query int false "每页条数"
- // @Success 200 {array} models.InTradepositiontransfer
- // @Failure 500 {object} app.Response
- // @Router /Zhongrong/QueryInTradePositionTransfer [get]
- // @Tags 中融
- func QueryInTradePositionTransfer(c *gin.Context) {
- a := app.GinUtils{Gin: app.Gin{C: c}}
- m := models.InTradepositiontransfer{}
- a.DoBindReq(&m)
- a.DoGetDataByPage(&m)
- }
- // QueryOutTradepositiontransfer
- // @Summary 获取持仓过户申请表信息 - 我的转出
- // @Produce json
- // @Security ApiKeyAuth
- // @Param userid query int true "用户ID"
- // @Param page query int false "页码"
- // @Param pagesize query int false "每页条数"
- // @Success 200 {array} models.OutTradepositiontransfer
- // @Failure 500 {object} app.Response
- // @Router /Zhongrong/QueryOutTradepositiontransfer [get]
- // @Tags 中融
- func QueryOutTradepositiontransfer(c *gin.Context) {
- a := app.GinUtils{Gin: app.Gin{C: c}}
- m := models.OutTradepositiontransfer{}
- a.DoBindReq(&m)
- a.DoGetDataByPage(&m)
- }
|