bank.go 770 B

12345678910111213141516171819202122232425
  1. package bank
  2. import (
  3. "mtp2_if/global/app"
  4. "mtp2_if/models"
  5. "github.com/gin-gonic/gin"
  6. )
  7. // QueryBankCusBankExtendConfigs
  8. // @Summary 查询托管银行扩展配置信息
  9. // @Produce json
  10. // @Security ApiKeyAuth
  11. // @Param cusbankid query string true "托管银行编号"
  12. // @Param extendbiztype query int false "扩展业务类型 - 1:签约 2:入金 3:出金 4:签约信息修改"
  13. // @Success 200 {array} models.Bankcusbankextendconfig
  14. // @Failure 500 {object} app.Response
  15. // @Router /Bank/QueryBankCusBankExtendConfigs [get]
  16. // @Tags 银行
  17. func QueryBankCusBankExtendConfigs(c *gin.Context) {
  18. a := app.GinUtils{Gin: app.Gin{C: c}}
  19. m := models.Bankcusbankextendconfig{}
  20. a.DoBindReq(&m)
  21. a.DoGetDataEx(&m)
  22. }