电站信息中英文修改
This commit is contained in:
@ -185,7 +185,8 @@ public class OpenStationController {
|
|||||||
|
|
||||||
@PostMapping("/pcsTotalData")
|
@PostMapping("/pcsTotalData")
|
||||||
@ApiOperation(value = "数据总览")
|
@ApiOperation(value = "数据总览")
|
||||||
public DataResult<PcsTotalData> pcsTotalData(@RequestBody StationReq req) {
|
public DataResult<PcsTotalData> pcsTotalData(@RequestBody StationReq req,HttpServletRequest request) {
|
||||||
|
req.setLang(request.getHeader(RedisKeyConstant.User.LANG));
|
||||||
if (req.getDeviceType() == null) {
|
if (req.getDeviceType() == null) {
|
||||||
String deviceType = colCountService.getDeviceType(req.getStationId());
|
String deviceType = colCountService.getDeviceType(req.getStationId());
|
||||||
req.setDeviceType(deviceType);
|
req.setDeviceType(deviceType);
|
||||||
|
|||||||
Reference in New Issue
Block a user