github.com/chanxuehong/wechat@v0.0.0-20230222024006-36f0325263cd/mch/mmpaymkttransfers/send_coupon.go (about)

     1  package mmpaymkttransfers
     2  
     3  import (
     4  	"github.com/chanxuehong/wechat/mch/core"
     5  )
     6  
     7  // 发放代金券.
     8  //
     9  //	请求需要双向证书
    10  func SendCoupon(clt *core.Client, req map[string]string) (resp map[string]string, err error) {
    11  	return clt.PostXML(core.APIBaseURL()+"/mmpaymkttransfers/send_coupon", req)
    12  }