This commit is contained in:
Redkale
2016-09-06 12:21:30 +08:00
parent 1a22cd0fe1
commit fa8e40f6c0

View File

@@ -64,7 +64,7 @@ public class RestDocs extends HttpBaseServlet {
WebAction action = method.getAnnotation(WebAction.class);
if (action == null) continue;
final Map<String, Object> actionmap = new LinkedHashMap<>();
actionmap.put("url", action.url());
actionmap.put("url", prefix + action.url());
actionmap.put("auth", method.getAnnotation(AuthIgnore.class) == null);
actionmap.put("actionid", action.actionid());
actionmap.put("comment", action.comment());