mcs.go 383 B

12345678910111213141516171819
  1. package http
  2. type McsRequest struct {
  3. Request bool `json:"request"`
  4. ID int `json:"id"`
  5. Method string `json:"method"`
  6. Data McsData `json:"data"`
  7. }
  8. type McsData struct {
  9. DevID string `json:"devId"`
  10. PeopleNo string `json:"peopleNo"`
  11. WorkNo string `json:"workNo"`
  12. StorType int `json:"storType"`
  13. }
  14. func (p *McsRequest) Validate() error {
  15. return nil
  16. }