|
@@ -34,6 +34,10 @@ public class HeaderArgumentResolver implements HandlerMethodArgumentResolver {
|
|
if (ObjectUtils.isNotEmpty(device)) {
|
|
if (ObjectUtils.isNotEmpty(device)) {
|
|
builder.device(device);
|
|
builder.device(device);
|
|
}
|
|
}
|
|
|
|
+ String currentTime = request.getHeader(HeaderCfg.CURRENT_TIME);
|
|
|
|
+ if (ObjectUtils.isNotEmpty(currentTime)) {
|
|
|
|
+ builder.currentTime(currentTime);
|
|
|
|
+ }
|
|
String osVersion = request.getHeader(HeaderCfg.OSVERSION);
|
|
String osVersion = request.getHeader(HeaderCfg.OSVERSION);
|
|
if (ObjectUtils.isNotEmpty(osVersion)) {
|
|
if (ObjectUtils.isNotEmpty(osVersion)) {
|
|
builder.osVersion(osVersion);
|
|
builder.osVersion(osVersion);
|