You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package com.fr.plugin.sqy.kj.calendar;
|
|
|
|
|
|
|
|
import com.fr.log.FineLoggerFactory;
|
|
|
|
import com.fr.plugin.transform.ExecuteFunctionRecord;
|
|
|
|
import com.fr.plugin.transform.FunctionRecorder;
|
|
|
|
import com.fr.stable.fun.impl.AbstractJavaScriptFileHandler;
|
|
|
|
|
|
|
|
|
|
|
|
public class JsFileHandler extends AbstractJavaScriptFileHandler{
|
|
|
|
|
|
|
|
|
|
|
|
public String[] pathsForFiles() {
|
|
|
|
if(!FuncRecorder.execute()){
|
|
|
|
FineLoggerFactory.getLogger().error("[{}]插件未注册或已过期",PluginConstants.PLUGIN_ID);
|
|
|
|
return new String[]{};
|
|
|
|
}
|
|
|
|
return new String[]{
|
|
|
|
"com/fr/plugin/sqy/kj/calendar/js/plugin_main.js"
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|