/**
* 字符串转数组
*
* @param str
* @return
*/
public static List<String> strToList(String str) {
if (str.startsWith("[") || str.endsWith("]")) {
str = str.replace("[", "").replace("]", "");
}
return Arrays.asList(str.split(","));
}