【仅供内部供应商使用,不提供对外解答和培训】

Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

*1:设计器是指包含有为设计器部分做的插件,比如设计器的菜单,对话框等;
*2:指的是包含有为服务器部分做的插件,在设计器中包含有的jetty服务器环境的运行情况;
*3:指的是包含有为服务器部分做的插件,在tomcat等其他独立java web容器中的运行情况;

 

插件包授权

10.0.2中添加了插件包的概念(插件增加收费授权2中添加了插件包的概念(即客户可以购买一个集合的插件)

在插件的Authorize注解中添加了groupSignKey属性,用来标记一个插件所属的插件组IDgroupSignKey属性,用来标记自己的插件所属的插件组ID

Code Block
title付费注解-添加组ID
collapsetrue
package com.fr.stable.fun;

import com.fr.stable.StringUtils;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface Authorize {
    
    /**
     * 开发者根据插件id申请得到的验证码
     *
     * @return 验证码
     */
    String callSignKey() default StringUtils.EMPTY;
    
    /**
     * 验证码可以写在代码中,也可以写在文件中
     *
     * @return 存验证码的文件的路径
     */
    String callSignKeyPath() default StringUtils.EMPTY;
    
    
    /**
     * 插件所属group
     */
    String groupSignKey() default StringUtils.EMPTY;
}

为了保障您的分成权益,在添加插件包注解前请务必向官方确认,您的插件确已所属某个插件包。