--验证判断ProductType方法 function ListContain(list,val) if not list then return false end if list then for k, v in pairs(list) do if v==val then return true end end end end if (ListContain({206,215},222)==nil) then print '1' end