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.
21 lines
584 B
21 lines
584 B
3 years ago
|
package com.eco.plugin.xx.zcgjsync.controller;
|
||
|
|
||
|
import com.fr.decision.fun.impl.AbstractControllerRegisterProvider;
|
||
|
import com.fr.plugin.context.PluginContexts;
|
||
|
import com.fr.stable.fun.Authorize;
|
||
|
|
||
|
@Authorize(callSignKey = "com.eco.plugin.xx.zcgjsync")
|
||
|
public class ControllerRegisterProvider extends AbstractControllerRegisterProvider {
|
||
|
@Override
|
||
|
public Class<?>[] getControllers() {
|
||
|
|
||
|
if(!PluginContexts.currentContext().isAvailable()) {
|
||
|
return new Class[]{};
|
||
|
}
|
||
|
|
||
|
return new Class[]{
|
||
|
ControllerSelf.class
|
||
|
};
|
||
|
}
|
||
|
}
|