creatblock.go 316 B

123456789101112131415
  1. package http_model
  2. type BlockRequest struct {
  3. ID string `json:"id"` // 达人id
  4. InBlacklist uint `json:"in_blacklist"` // 项目状态
  5. }
  6. func NewBlockRequest() *BlockRequest {
  7. return new(BlockRequest)
  8. }
  9. func NewBlockResponse() *CommonResponse {
  10. resp := new(CommonResponse)
  11. return resp
  12. }