7
0

主体列表加上统一社会信用代码

This commit is contained in:
许 洋 2024-12-17 15:38:16 +08:00
parent 4f63f8f302
commit 4a8d29f57f
2 changed files with 8 additions and 0 deletions

View File

@ -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)
} }

View File

@ -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 公司列表请求