类 ServiceJavaBase

java.lang.Object
com.sh.wf.module.java.JavaBase
com.sh.wf.module.java.ServiceJavaBase
所有已实现的接口:
Serializable, Cloneable

public abstract class ServiceJavaBase extends JavaBase implements Serializable, Cloneable

Description: 自定义代码Java逻辑基类

Title:首亨软件 - TSS/CRM等

从以下版本开始:
2017年8月10日
另请参阅:
  • 构造器详细资料

    • ServiceJavaBase

      public ServiceJavaBase()
  • 方法详细资料

    • before

      public String[] before(JSONArray array) throws Exception
      最先执行,可以用于权限判断
      参数:
      array - JSONArray
      返回:
      String[]
      抛出:
      Exception - Exception
    • execute

      public String[] execute(JSONArray array) throws Exception
      服务执行自定义逻辑
      参数:
      array - JSONArray
      返回:
      true|false
      抛出:
      Exception - Exception
    • responseData

      public String responseData(JSONObject ret) throws Exception
      返回数据
      参数:
      ret - 格式:{msgType:"success",msgStr:"","count":0,data:[]}
      返回:
      String
      抛出:
      Exception - Exception