[what] add file api/utils/closedb.js