github.com/chanxuehong/wechat@v0.0.0-20230222024006-36f0325263cd/mch/promotion/query_coupon.go (about) 1 package promotion 2 3 import ( 4 "github.com/chanxuehong/wechat/mch/core" 5 ) 6 7 // 查询代金券信息. 8 func QueryCoupon(clt *core.Client, req map[string]string) (resp map[string]string, err error) { 9 return clt.PostXML(core.APIBaseURL()+"/promotion/query_coupon", req) 10 }