解决的办法是把string(adminname)替换为adminname.(string)。其它类型也是类似。 转载于:https://www.cnblogs.com/huanhang/p/8352707.html