weixin_service.go 387 B

12345678910
  1. package server
  2. type WeixinService interface {
  3. GetWXAccessToken(accountType string) (interface{}, error)
  4. GetJSAPITicket(accountType string) (interface{}, error)
  5. SendTpl(msg string, accountType string) (interface{}, error)
  6. JsSdkSign(signUrl string, accountType string) (interface{}, error)
  7. ScanPay(extra map[string]string) (interface{}, error)
  8. GetPayReason() (interface{}, error)
  9. }