|
@@ -1,6 +1,5 @@
|
|
|
package com.palmnest.webapp.controller.api;
|
|
|
|
|
|
-import com.alibaba.fastjson.JSON;
|
|
|
import com.palmnest.application.AppConstants;
|
|
|
import com.palmnest.application.CodeConstants;
|
|
|
import com.palmnest.application.bean.AppResultDto;
|
|
@@ -16,10 +15,8 @@ import com.palmnest.service.estateserve.FloorInfoManager;
|
|
|
import com.palmnest.service.estateserve.VirtualArchManager;
|
|
|
import com.palmnest.service.estateserve.airconditioner.ConditionerAddTimeService;
|
|
|
import com.palmnest.service.redis.BaseRedisService;
|
|
|
-
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import net.sf.json.JSONObject;
|
|
|
-
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
@@ -30,7 +27,6 @@ import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest;
|
|
|
import javax.servlet.http.HttpServletResponse;
|
|
|
-
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.List;
|
|
@@ -74,7 +70,6 @@ public class ApiAirConditionerAddTimeController {
|
|
|
return AppResultUtil.createErrorDto(AppConstants.TOKEN_EXPIRED, "token已过期");
|
|
|
}
|
|
|
User user = userManager.getUserByUsername2(userName);
|
|
|
- log.info("ApiAirConditionerAddTimeController list======user={}", JSON.toJSONString(user));
|
|
|
|
|
|
// User userAir21 = userManager.findByFunctionAndUser(CodeConstants.CSP21_PERMISSION, user.getId());
|
|
|
// User userAir22 = userManager.findByFunctionAndUser(CodeConstants.CSP22_PERMISSION, user.getId());
|