Commit 567a654b authored by 赵啸非's avatar 赵啸非

添加菜单资源配置

parent 9faae60a
......@@ -2,17 +2,23 @@ package com.mortals.xhx.daemon.applicationservice;
import com.mortals.framework.springcloud.service.IApplicationStartedService;
import com.mortals.framework.util.ThreadPool;
import com.mortals.xhx.base.system.resource.service.ResourceService;
import lombok.extern.slf4j.Slf4j;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@Component
@Slf4j
public class StartService implements IApplicationStartedService {
@Autowired
private ResourceService resourceService;
@Override
public void start() {
ThreadPool.getInstance().init(10);
resourceService.refreshResourceUrl("com.mortals.xhx", null);
}
@Override
......
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