Skip to content
This repository has been archived by the owner on Jun 2, 2020. It is now read-only.

Commit

Permalink
add merchant
Browse files Browse the repository at this point in the history
  • Loading branch information
godcong committed Nov 5, 2018
1 parent 34b9649 commit 55bef78
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/payment/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 4 additions & 0 deletions app/payment/merchant.go
Original file line number Diff line number Diff line change
Expand Up @@ -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{
Expand Down

0 comments on commit 55bef78

Please sign in to comment.