Documentation
¶
Index ¶
- Constants
- Variables
- type Client
- func (c *Client) Decrypt(cipher string) (string, error)
- func (c *Client) Encrypt(plain string) (string, error)
- func (c *Client) MchNO() string
- func (c *Client) MustEncrypt(plain string) string
- func (c *Client) PostForm(ctx context.Context, api, serviceNO string, bizData V) (gjson.Result, error)
- func (c *Client) VerifyNotify(form url.Values) (gjson.Result, error)
- type Option
- type V
Constants ¶
View Source
const ( SysOK = "SYS000" // 网关受理成功响应码 SysAccepting = "SYS001" // 网关受理中响应码 ComOK = "COM000" // 业务受理成功 ComProcessing = "COM004" // 业务处理中 )
Variables ¶
View Source
var ErrSysAccepting = errors.New("SYS001 | 网关受理中")
ErrSysAccepting 网关受理中
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client 银盛支付客户端
func (*Client) MustEncrypt ¶
MustEncrypt 敏感数据DES加密;若发生错误,则Panic
Click to show internal directories.
Click to hide internal directories.