插件调试

This commit is contained in:
李子铭 2025-01-09 11:35:53 +08:00
parent a88469dc45
commit c009c63edc
1 changed files with 11 additions and 11 deletions

View File

@ -12,20 +12,20 @@ import (
var cardService = &ZLTXCardV1Service{}
func config() []byte {
//c := &Config{
// AppId: "1",
// AppKey: "1e2bf7a04b8b1e6be5dc78d04e8639c9",
// BaseUri: "http://test.openapi.1688sup.cn",
// NotifyUrl: "https://gateway.dev.cdlsxd.cn/yxh5api/v1/order/direct/notify",
// MerchantId: 23329,
//}
c := &Config{
AppId: "101",
AppKey: "95E7EC7D4A394FF8D11788E5E436DE99",
BaseUri: "https://openapi.1688sup.com",
AppId: "1",
AppKey: "1e2bf7a04b8b1e6be5dc78d04e8639c9",
BaseUri: "http://test.openapi.1688sup.cn",
NotifyUrl: "https://gateway.dev.cdlsxd.cn/yxh5api/v1/order/direct/notify",
MerchantId: 25715,
MerchantId: 23329,
}
//c := &Config{
// AppId: "101",
// AppKey: "95E7EC7D4A394FF8D11788E5E436DE99",
// BaseUri: "https://openapi.1688sup.com",
// NotifyUrl: "https://gateway.dev.cdlsxd.cn/yxh5api/v1/order/direct/notify",
// MerchantId: 25715,
//}
marshal, _ := json.Marshal(c)
return marshal
}