一物一码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

md_wx_official_account.go 781 B

1 year ago
123456789101112131415161718192021222324252627
  1. package md
  2. const WxOfficialAccountRequestBaseUrl = "https://api.weixin.qq.com/"
  3. type CreateTokenResp struct {
  4. AccessToken string `json:"access_token"`
  5. ExpiresIn int64 `json:"expires_in"`
  6. }
  7. type CreateQrcodeResp struct {
  8. Ticket string `json:"ticket"`
  9. ExpireSeconds int64 `json:"expire_seconds"`
  10. Url string `json:"url"`
  11. }
  12. type SendRedPackageResp struct {
  13. ReturnCode string `json:"return_code"`
  14. ReturnMsg string `json:"return_msg"`
  15. ResultCode string `json:"result_code"`
  16. ErrCode string `json:"err_code"`
  17. ErrCodeDes string `json:"err_code_des"`
  18. MchBilNo string `json:"mch_billno"`
  19. MchId string `json:"mch_id"`
  20. WxAppId string `json:"wxappid"`
  21. ReOpenId string `json:"re_openid"`
  22. TotalAmount string `json:"total_amount"`
  23. }