async / await是ES7提供的Promise语法糖,这能大大简化代码。 async修饰的函数为异步函数,返回值为一个Promise对象,返回语句return替代了Promise的resolve方法,返回结果包裹在Promise中。