1
This commit is contained in:
@@ -16,7 +16,7 @@ const (
|
|||||||
AliPayPublicCertPath = "./config/alipayCertPublicKey_RSA2.crt" // 支付宝公钥证书文件路径
|
AliPayPublicCertPath = "./config/alipayCertPublicKey_RSA2.crt" // 支付宝公钥证书文件路径
|
||||||
aliPayRootCertPath = "./config/alipayRootCert.crt" // 支付宝根证书文件路径
|
aliPayRootCertPath = "./config/alipayRootCert.crt" // 支付宝根证书文件路径
|
||||||
appCertPath = "./config/appCertPublicKey_2019110769024042.crt" // 应用公钥证书路径
|
appCertPath = "./config/appCertPublicKey_2019110769024042.crt" // 应用公钥证书路径
|
||||||
MinWithdrawalMoney = 5 // 最小提现金额,不用审核
|
MinWithdrawalMoney = 50 // 最小提现金额,不用审核
|
||||||
)
|
)
|
||||||
|
|
||||||
// WithdrawalSystemParam 支付包创建提现操作,系统参数
|
// WithdrawalSystemParam 支付包创建提现操作,系统参数
|
||||||
|
|||||||
@@ -76,7 +76,7 @@ func TestGetPrinterStatus(t *testing.T) {
|
|||||||
|
|
||||||
// 20210615000012
|
// 20210615000012
|
||||||
func TestDoPrint(t *testing.T) {
|
func TestDoPrint(t *testing.T) {
|
||||||
result, err := api.DoPrint("20210615000011", "<center>11111</center><br>", 2)
|
result, err := api.DoPrint("20210615000010", "<center>11111</center><br>", 2)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user