12345678910111213141516171819 |
- package http
- type McsRequest struct {
- Request bool `json:"request"`
- ID int `json:"id"`
- Method string `json:"method"`
- Data McsData `json:"data"`
- }
- type McsData struct {
- DevID string `json:"devId"`
- PeopleNo string `json:"peopleNo"`
- WorkNo string `json:"workNo"`
- StorType int `json:"storType"`
- }
- func (p *McsRequest) Validate() error {
- return nil
- }
|