支付模块
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.

18 lines
630 B

  1. package md
  2. type AliPayPayParams struct {
  3. Subject string `json:"subject" binding:"required"`
  4. Amount string `json:"amount" binding:"required"`
  5. OrderType string `json:"order_type" binding:"required"`
  6. OrdId string `json:"ord_id"`
  7. }
  8. type PayData struct {
  9. PayAppCertSn string `json:"pay_app_cert_sn"`
  10. PayAlipayRootCertSn string `json:"pay_alipay_root_cert_sn"`
  11. PayAlipayrsaPublicKey string `json:"pay_alipayrsa_public_key"`
  12. PayAliUseType string `json:"pay_ali_use_type"`
  13. PriKey string `json:"pay_ali_new_private_key"`
  14. WxAppletFilepathUrl string `json:"wx_applet_filepath_url"`
  15. }