add author field support

This commit is contained in:
oppofind 2019-09-28 20:26:40 +08:00
parent ce6a7882e3
commit b93b061aac
1 changed files with 1 additions and 0 deletions
src/main/java/com/power/doc/utils

View File

@ -29,6 +29,7 @@ public class DocUtil {
fieldValue.put("uid", UUID.randomUUID().toString());
fieldValue.put("nickname-string", enFaker.name().username());
fieldValue.put("name-string", faker.name().username());
fieldValue.put("author-string",faker.book().author());
fieldValue.put("url-string", faker.internet().url());
fieldValue.put("username-string", faker.name().username());
fieldValue.put("page-int", "1");