46 lines
		
	
	
		
			677 B
		
	
	
	
		
			Go
		
	
	
	
	
	
		
		
			
		
	
	
			46 lines
		
	
	
		
			677 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| 
								 | 
							
								package dto
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type NilReq struct {
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type NilRsp = NilReq
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommonListReq struct {
							 | 
						||
| 
								 | 
							
									PageNo  int `json:"page_no"`
							 | 
						||
| 
								 | 
							
									PageLen int `json:"page_len"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommonPostReq struct {
							 | 
						||
| 
								 | 
							
									Dto *CommonDtoValues `json:"dto"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommonPutReq struct {
							 | 
						||
| 
								 | 
							
									Dto *CommonDtoValues `json:"dto"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommonDeleteReq struct {
							 | 
						||
| 
								 | 
							
									Id int `json:"id"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommonListRsp = CommonDtoList
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommonPostRsp struct {
							 | 
						||
| 
								 | 
							
									Dto *CommonDtoValues `json:"dto"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommonPutRsp struct {
							 | 
						||
| 
								 | 
							
									Dto *CommonDtoValues `json:"dto"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommonDeleteRsp struct {
							 | 
						||
| 
								 | 
							
									Id int `json:"id"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommandListReq struct {
							 | 
						||
| 
								 | 
							
									Addr string `json:"addr"`
							 | 
						||
| 
								 | 
							
								}
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								type CommandListRsp struct {
							 | 
						||
| 
								 | 
							
									List []*PathInfo `json:"list"`
							 | 
						||
| 
								 | 
							
								}
							 |