|

楼主 |
发表于 2018-6-20 17:15:32
|
显示全部楼层
public static JSONObject callTrans1(JSONObject params, ActionContext context) throws SQLException, NamingException {
String transApp = params.getString("transApp");
String transType = params.getString("transType");
JSONObject data=params.getJSONObject("data");
Activity ctx=new Activity();//---------这里
ctx=params.getString("ctx");
AppHelper.callTrans(ctx,transApp,transType,data);//--------这里
JSONObject object = new JSONObject();
object.put("result", data);
return object;
} |
|