e
2 years ago
7 changed files with 101 additions and 34 deletions
@ -1,25 +1,4 @@ |
|||||||
# ---> Java |
/build |
||||||
# Compiled class file |
/classes |
||||||
*.class |
/transform-classes |
||||||
|
|
||||||
# Log file |
|
||||||
*.log |
|
||||||
|
|
||||||
# BlueJ files |
|
||||||
*.ctxt |
|
||||||
|
|
||||||
# Mobile Tools for Java (J2ME) |
|
||||||
.mtj.tmp/ |
|
||||||
|
|
||||||
# Package Files # |
|
||||||
*.jar |
|
||||||
*.war |
|
||||||
*.nar |
|
||||||
*.ear |
|
||||||
*.zip |
|
||||||
*.tar.gz |
|
||||||
*.rar |
|
||||||
|
|
||||||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml |
|
||||||
hs_err_pid* |
|
||||||
|
|
||||||
|
@ -0,0 +1,18 @@ |
|||||||
|
package com.fr.plugin.sqy.kj.calendar; |
||||||
|
|
||||||
|
|
||||||
|
import com.fr.plugin.context.PluginContexts; |
||||||
|
import com.fr.plugin.transform.ExecuteFunctionRecord; |
||||||
|
import com.fr.plugin.transform.FunctionRecorder; |
||||||
|
import com.fr.stable.fun.Authorize; |
||||||
|
|
||||||
|
//功能点注册
|
||||||
|
@FunctionRecorder |
||||||
|
@Authorize(callSignKey = PluginConstants.PLUGIN_ID) |
||||||
|
public class FuncRecorder { |
||||||
|
|
||||||
|
|
||||||
|
public static boolean execute(){ |
||||||
|
return PluginContexts.currentContext() != null && PluginContexts.currentContext().isAvailable();//付费
|
||||||
|
} |
||||||
|
} |
Loading…
Reference in new issue