1
2
3
4
5
6
7
8
9
10
11
12
13
14
| package request
|
| type AddCountry struct {
| Name string `json:"name"` // 国家名称
| }
|
| type DeleteCountry struct {
| Id int `json:"id"` // 国家ID
| }
|
| type UpdateCountry struct {
| Id int `json:"id"` // 国家ID
| Name string `json:"name"` // 国家名称
| }
|
|