主体列表加上统一社会信用代码
This commit is contained in:
parent
4f63f8f302
commit
4a8d29f57f
@ -1,6 +1,7 @@
|
|||||||
package mkt
|
package mkt
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"testing"
|
"testing"
|
||||||
)
|
)
|
||||||
@ -18,5 +19,11 @@ func TestSubjectList(t *testing.T) {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
marshal, err := json.Marshal(list.Data)
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
|
fmt.Println(string(marshal))
|
||||||
fmt.Println(list.Status, list.Code, list.Msg, list.Data)
|
fmt.Println(list.Status, list.Code, list.Msg, list.Data)
|
||||||
}
|
}
|
||||||
|
@ -33,6 +33,7 @@ type Data struct {
|
|||||||
State int `json:"state"`
|
State int `json:"state"`
|
||||||
System string `json:"system"`
|
System string `json:"system"`
|
||||||
Type int `json:"type"`
|
Type int `json:"type"`
|
||||||
|
Uscc string `json:"uscc"`
|
||||||
}
|
}
|
||||||
|
|
||||||
// CreateSubjectListRequest 公司列表请求
|
// CreateSubjectListRequest 公司列表请求
|
||||||
|
Loading…
Reference in New Issue
Block a user