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