1func test(h []int) {
    h[1] = 12341234    //函数外的slice确实有被修改
    h = append(h, 1200)    //函数外的不变
}
2func test(h *[]int) { //这样才能修改函数外的slice
    *h = append(*h, 1200)    
}