public async Task <CommResult <bool> > Post([CustomizeValidator(RuleSet = "BookDto")] BookDto book) { //InsertAndGetIdAsync 添加数据并返回主键 return(await _bookService.CreateBook(book)); }