This commit is contained in:
邹宗楠
2025-07-29 17:17:58 +08:00
parent 3398ff6bde
commit 5a37872c8b
3 changed files with 49 additions and 3 deletions

View File

@@ -996,9 +996,9 @@ func (c *LaKaLaController) QueryAuthentication() {
// @Title 开户状态查询
// @Description 开户状态查询
// @Param token header string true "认证token"
// @Param tradeMode formData string true "支付类型交易钱包类型[ALIPAYWECHAT]"
// @Param subMerchantId formData string true "子商户号 "
// @Param merchantNo formData string true "商户号 "
// @Param tradeMode query string true "支付类型交易钱包类型[ALIPAYWECHAT]"
// @Param subMerchantId query string true "子商户号 "
// @Param merchantNo query string true "商户号 "
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /AccountStatusQuery [get]
@@ -1008,3 +1008,19 @@ func (c *LaKaLaController) AccountStatusQuery() {
return
})
}
// QuerySubMerInfo 商户报备查询
// @Title 商户报备查询
// @Description 商户报备查询
// @Param token header string true "认证token"
// @Param merCupNo query string true "银联商户号(二选一填写)"
// @Param merInnerNo query string true "内部商户号(二选一填写)"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /QuerySubMerInfo [get]
func (c *LaKaLaController) QuerySubMerInfo() {
c.callQuerySubMerInfo(func(params *tLakalaQuerySubMerInfoParams) (retVal interface{}, errCode string, err error) {
retVal, err = lakalaServer.SubMerchantInfoQuery(params.MerInnerNo, params.MerCupNo)
return
})
}