@At("/api/user")
@POST
@AdaptBy(type = WhaleAdaptor.class)
public Object index(@Param("..") NutMap map, @Param("Action")String action) {
System.out.println(map);
System.out.println(action);
return null
}
使用PostMan调试
Content-Type=application/x-www-form-urlencoded
参数 :
Action="Action"
Nonce="1121211"
Timestamp="1212121"
打印日志:
null
Action