- 结算初始版本
This commit is contained in:
19
business/partner/purchase/ebai/financial_test.go
Normal file
19
business/partner/purchase/ebai/financial_test.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package ebai
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"git.rosy.net.cn/baseapi/platformapi/ebaiapi"
|
||||
)
|
||||
|
||||
func TestOnFinancialMsg(t *testing.T) {
|
||||
msg := &ebaiapi.CallbackMsg{
|
||||
Cmd: "order.partrefund.push",
|
||||
Body: make(map[string]interface{}),
|
||||
}
|
||||
msg.Body["refund_id"] = "15518443822344"
|
||||
msg.Body["status"] = "20"
|
||||
res := OnFinancialMsg(msg)
|
||||
fmt.Println(res)
|
||||
}
|
||||
Reference in New Issue
Block a user