|
@@ -20,6 +20,7 @@ import com.fdkankan.manage.vo.response.ManageLoginResponse;
|
|
import com.fdkankan.manage.vo.response.SceneAuthVo;
|
|
import com.fdkankan.manage.vo.response.SceneAuthVo;
|
|
import com.fdkankan.manage.vo.response.SceneUserAuthVo;
|
|
import com.fdkankan.manage.vo.response.SceneUserAuthVo;
|
|
import com.fdkankan.redis.util.RedisUtil;
|
|
import com.fdkankan.redis.util.RedisUtil;
|
|
|
|
+import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.commons.lang3.StringUtils;
|
|
import org.apache.tomcat.util.security.Escape;
|
|
import org.apache.tomcat.util.security.Escape;
|
|
import org.joda.time.DateTime;
|
|
import org.joda.time.DateTime;
|
|
@@ -40,6 +41,7 @@ import java.util.stream.Collectors;
|
|
* @since 2023-08-24
|
|
* @since 2023-08-24
|
|
*/
|
|
*/
|
|
@Service
|
|
@Service
|
|
|
|
+@Slf4j
|
|
public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapper, JySceneUserAuth> implements IJySceneUserAuthService {
|
|
public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapper, JySceneUserAuth> implements IJySceneUserAuthService {
|
|
|
|
|
|
@Autowired
|
|
@Autowired
|
|
@@ -318,6 +320,7 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
if(StringUtils.isBlank(num)){
|
|
if(StringUtils.isBlank(num)){
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
}
|
|
}
|
|
|
|
+ log.info("checkNumAuth-----------num:{},token:{}",num,token);
|
|
ScenePro pro = sceneProService.getByNum(num);
|
|
ScenePro pro = sceneProService.getByNum(num);
|
|
ScenePlus plus = scenePlusService.getByNum(num);
|
|
ScenePlus plus = scenePlusService.getByNum(num);
|
|
if(pro == null && plus == null){
|
|
if(pro == null && plus == null){
|
|
@@ -390,7 +393,6 @@ public class JySceneUserAuthServiceImpl extends ServiceImpl<IJySceneUserAuthMapp
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
-
|
|
|
|
return sceneAuthVo;
|
|
return sceneAuthVo;
|
|
}
|
|
}
|
|
|
|
|