Commit bad0b2b3 authored by 李健华's avatar 李健华

添加日志查看appNames配置

parent 7de4c31f
...@@ -6,6 +6,7 @@ import cn.quantgroup.xyqb.entity.middleoffice.AppletParamEntry; ...@@ -6,6 +6,7 @@ import cn.quantgroup.xyqb.entity.middleoffice.AppletParamEntry;
import cn.quantgroup.xyqb.exception.DataException; import cn.quantgroup.xyqb.exception.DataException;
import cn.quantgroup.xyqb.model.JsonResult; import cn.quantgroup.xyqb.model.JsonResult;
import cn.quantgroup.xyqb.service.middleoffice.applet.IAppletService; import cn.quantgroup.xyqb.service.middleoffice.applet.IAppletService;
import com.alibaba.fastjson.JSON;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
...@@ -73,6 +74,8 @@ public class AppletController { ...@@ -73,6 +74,8 @@ public class AppletController {
} }
private boolean containsAppName(String appName) { private boolean containsAppName(String appName) {
return Arrays.asList(appletAppNames.split(",")).contains(appName); log.info("=appName -> {}", JSON.toJSONString(appName));
log.info("=appNameApplet -> {}", JSON.toJSONString(appletAppNames));
return Arrays.asList(appletAppNames.split(",")).contains(appName);
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment