diff --git a/app/payment/constants.go b/app/payment/constants.go index be4312e..b4930f6 100644 --- a/app/payment/constants.go +++ b/app/payment/constants.go @@ -14,8 +14,9 @@ const payRefundQuery = "/pay/refundquery" const payReverse = "/secapi/pay/reverse" const payRefund = "/secapi/pay/refund" const mchSubmchmanage = "/secapi/mch/submchmanage" -const mchModifymchinfo = "secapi/mch/modifymchinfo" -const mktAddrecommendconf = "secapi/mkt/addrecommendconf" +const mchModifymchinfo = "/secapi/mch/modifymchinfo" +const mktAddrecommendconf = "/secapi/mkt/addrecommendconf" +const mchAddSubDevConfig = "/secapi/mch/addsubdevconfig" const mmpaymkttransfersSendRedPack = "/mmpaymkttransfers/sendredpack" const mmpaymkttransfersGetHbInfo = "/mmpaymkttransfers/gethbinfo" diff --git a/app/payment/merchant.go b/app/payment/merchant.go index 0c37e24..e29b345 100644 --- a/app/payment/merchant.go +++ b/app/payment/merchant.go @@ -60,6 +60,10 @@ func (m *Merchant) AddRecommendConfByReceipt(appID string) core.Response { return m.SafeRequest(mktAddrecommendconf, maps) } +func (m *Merchant) mchAddSubDevConfig() { + //TODO +} + func (m *Merchant) manage(action string, maps util.Map) core.Response { maps.Join(util.Map{