package md type TaskReq struct { P string `json:"p"` Size string `json:"size"` TaskType string `json:"task_type"` ApplyType string `json:"apply_type"` SettleType string `json:"settle_type"` StartTime string `json:"start_time"` EndTime string `json:"end_time"` } type TaskDetail struct { Id string `json:"id" xorm:"not null pk autoincr INT(11)"` Name string `json:"name" xorm:"comment('名称') VARCHAR(255)"` Logo string `json:"logo" xorm:"comment('logo') VARCHAR(255)"` Price string `json:"price" xorm:"default 0.00 comment('单价') DECIMAL(30,2)"` Num string `json:"num" xorm:"default 0 comment('数量') INT(11)"` FirstCid string `json:"first_cid" xorm:"default 0 INT(11)"` SecondCid string `json:"second_cid" xorm:"default 0 INT(11)"` SettleType string `json:"settle_type" xorm:"default 0 comment('0 T+1 1 T+7 2 月结') INT(11)"` StartTime string `json:"start_time" xorm:"DATETIME"` EndTime string `json:"end_time" xorm:"DATETIME"` Label []string `json:"label" xorm:"comment('关键词') VARCHAR(255)"` Contact string `json:"contact" xorm:"comment('联系方式') VARCHAR(255)"` Notice string `json:"notice"` DetailInfo []string `json:"detail_info" xorm:"comment('详情') TEXT"` VideoCourse string `json:"video_course" xorm:"comment('视频教程') VARCHAR(255)"` Instructions string `json:"instructions" xorm:"comment('特殊说明') VARCHAR(255)"` Announcement string `json:"announcement"` Remark string `json:"remark"` } type TaskAllDetail struct { IsCheck string `json:"is_check"` Id string `json:"id" xorm:"not null pk autoincr INT(11)"` Name string `json:"name" xorm:"comment('名称') VARCHAR(255)"` Icon string `json:"icon" xorm:"comment('logo') VARCHAR(255)"` Price string `json:"price" xorm:"default 0.00 comment('单价') DECIMAL(30,2)"` Num string `json:"num" xorm:"default 0 comment('数量') INT(11)"` Timer string `json:"start_time" xorm:"DATETIME"` Label []string `json:"label" xorm:"comment('关键词') VARCHAR(255)"` DetailInfo []string `json:"detail_info" xorm:"comment('关键词') VARCHAR(255)"` }