| 12345678910111213141516171819202122232425262728 |
- package wallet
- import (
- "mtp2_if/global/app"
- "mtp2_if/models"
- "github.com/gin-gonic/gin"
- )
- // QueryWalletAddress
- // @Summary 查询钱包地址
- // @Description /Wallet/QueryWalletAddress 查询钱包地址
- // @Produce json
- // @Security ApiKeyAuth
- // @Param userid query int true "用户ID"
- // @Param channel_code query string false "渠道代码"
- // @Param addr_type query int false "地址类型:1-充值;2-提现"
- // @Param chain_id query string false "链代码"
- // @Success 200 {array} models.DigitalWalletAddress
- // @Failure 500 {object} app.Response
- // @Router /Wallet/QueryWalletAddress [get]
- // @Tags 钱包
- func QueryWalletAddress(c *gin.Context) {
- a := app.GinUtils{Gin: app.Gin{C: c}}
- m := models.DigitalWalletAddress{}
- a.DoBindReq(&m)
- a.DoGetDataI(&m)
- }
|