1
This commit is contained in:
44
platformapi/lakala/lakala_separate_accounts_test.go
Normal file
44
platformapi/lakala/lakala_separate_accounts_test.go
Normal file
@@ -0,0 +1,44 @@
|
||||
package lakala
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestCreateSeparate(t *testing.T) {
|
||||
parameter := &CreateSeparateReq{
|
||||
Version: "1.0",
|
||||
OrderNo: "KFPT20230223181025407788734",
|
||||
OrgCode: "1",
|
||||
MerInnerNo: "4002021033012340711",
|
||||
MerCupNo: "822*******",
|
||||
ContactMobile: "111111",
|
||||
SplitLowestRatio: 0,
|
||||
SplitEntrustFileName: "授权委托书.pdf",
|
||||
SplitEntrustFilePath: "G1/M00/00/16/CrFdEl0wGu6AHwGQAAAz1tt6luo194.jpg",
|
||||
RetUrl: "http://run.mocky.io/v3/b02c9448-20a2-4ff6-a678-38ecab30161d",
|
||||
SplitRuleSource: "",
|
||||
SplitRange: "",
|
||||
SepFundSource: "",
|
||||
EleContractNo: "",
|
||||
SplitLaunchMode: "",
|
||||
SettleType: "",
|
||||
Attachments: nil,
|
||||
}
|
||||
api.CreateSeparate(parameter)
|
||||
}
|
||||
|
||||
func TestGetSeparate(t *testing.T) {
|
||||
paramter := &SeparateQueryReq{
|
||||
Version: "1.0",
|
||||
OrderNo: "KFPT20230223181747812863750",
|
||||
OrgCode: "1",
|
||||
MerInnerNo: "822*********",
|
||||
MerCupNo: "",
|
||||
}
|
||||
|
||||
api.SeparateQuery(paramter)
|
||||
}
|
||||
|
||||
func TestQuerySeparateRecipient(t *testing.T) {
|
||||
api.QuerySeparateRecipient("NEWRETAILSPLIT26687958", "4002022021832894453")
|
||||
}
|
||||
Reference in New Issue
Block a user