1
This commit is contained in:
@@ -99,3 +99,19 @@ func TestOrderRefund(t *testing.T) {
|
||||
_, _, err := api.OrderRefund(param)
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
||||
func TestTLAddTerm(t *testing.T) {
|
||||
param := &AddTermReq{
|
||||
Termno: fmt.Sprintf("%d_1", 668470),
|
||||
Devicetype: "10",
|
||||
Termsn: fmt.Sprintf("%d_1", 668470),
|
||||
Operation: "00",
|
||||
Termstate: "",
|
||||
Termaddress: fmt.Sprintf("%s-%s-%s-%s", "四川省", "成都市", "金牛区", "圃圆小筑"),
|
||||
Signtype: "RSA",
|
||||
Sign: "",
|
||||
}
|
||||
param.Termstate = "00"
|
||||
|
||||
api.TLAddTerm(param)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user