插件调试

This commit is contained in:
李子铭 2025-01-07 14:28:30 +08:00
parent 2ac9ccba43
commit a88469dc45
1 changed files with 4 additions and 3 deletions

View File

@ -43,13 +43,14 @@ func TestOrder(t *testing.T) {
request := &proto.OrderRequest{ request := &proto.OrderRequest{
Config: config(), Config: config(),
Order: &proto.OrderRequest_Order{ Order: &proto.OrderRequest_Order{
OrderNo: "test_plugin_zltx_v1_direct_1", OrderNo: "test_plugin_zltx_v1_direct_3",
Account: "18666173766", Account: "18666173766",
Quantity: 1, Quantity: 1,
Extra: []byte(`{"jdCode":"123456"}`), //Extra: []byte(`{"jdCode":"123456"}`), // 京东e卡官方默认的拓展参数
Extra: []byte(`{"jdSmsCode":"123456"}`), // 京东e卡专票拓展参数
}, },
Product: &proto.OrderRequest_Product{ Product: &proto.OrderRequest_Product{
ProductNo: "2255", // 101 2255 ProductNo: "360", // 101 2255
Extra: []byte(`{}`), Extra: []byte(`{}`),
}, },
} }