This commit is contained in:
邹宗楠
2025-04-29 14:42:24 +08:00
parent 9da5d239c6
commit c248d8e1d1
5 changed files with 41 additions and 8 deletions

View File

@@ -102,9 +102,9 @@ func TestOrderRefund(t *testing.T) {
func TestTLAddTerm(t *testing.T) {
param := &AddTermReq{
Termno: fmt.Sprintf("%d_1", 668470),
Devicetype: "10",
Termsn: fmt.Sprintf("%d_1", 668470),
Termno: fmt.Sprintf("%d00", 668470),
Devicetype: "11",
Termsn: fmt.Sprintf("%d00", 668470),
Operation: "00",
Termstate: "",
Termaddress: fmt.Sprintf("%s-%s-%s-%s", "四川省", "成都市", "金牛区", "圃圆小筑"),
@@ -115,3 +115,12 @@ func TestTLAddTerm(t *testing.T) {
api.TLAddTerm(param)
}
func TestTLTLQueryTerm(t *testing.T) {
param := &AddTermQuery{
Termno: "66847000",
Signtype: "RSA",
Sign: "",
}
api.TLQueryTerm(param)
}