An ex-detective accused of blackmail and bribery has faced court over corruption commission claims he accepted trips to Thailand, cash and luxury hotels.