// utils.gopackage mainimport ( "fmt" "math/rand" "sync" "time")// 抢红包任务结构体type task struct { id uint32 // 表示红包id callback chan uint // 表示返回的金额}const TaskNum...