Compare commits
1 Commits
Author | SHA1 | Date |
---|---|---|
e | 9ca46fa431 | 1 year ago |
7 changed files with 101 additions and 34 deletions
@ -1,25 +1,4 @@
|
||||
# ---> Java |
||||
# Compiled class file |
||||
*.class |
||||
|
||||
# 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* |
||||
/build |
||||
/classes |
||||
/transform-classes |
||||
|
||||
|
@ -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