public static int[] randNums(int personNum, int listSize) {

		// 采用第二种方法，每次都随机点人数减一个热菜
		Random rand = new Random();

		boolean[] bool = new boolean[listSize];

		int[] nums = new int[personNum - 1];

		int randNum = 0;

		for (int i = 0; i < personNum - 1; i++) {
			do {
				randNum = rand.nextInt(listSize);
			} while (bool[randNum]);

			nums[i] = randNum;

		}

		return nums;
	}