This commit is contained in:
Redkale
2017-06-01 11:38:49 +08:00
parent c88d0b402d
commit 801ad489d2

View File

@@ -725,6 +725,7 @@ public final class Rest {
RestHeader annhead = param.getAnnotation(RestHeader.class);
if (annhead != null) {
if (ptype != String.class) throw new RuntimeException("@RestHeader must on String Parameter in " + method);
n = annhead.name();
radix = annhead.radix();
comment = annhead.comment();