format code, and note Wechat::cache func