很简单,如下代码:
public void onInit(FastEngine engine) throws Exception { /**省略其他代码**/ engine.getConstant() .setDebug(engine.getProperties().getBoolean("debug", true)) .setLogInterceptorUseTotal(true) .setAnsi(true) .setAttachMaxPostSize(50 * 1024 * 1024);//配置附件大小,单位:字节(b) 系统默认配置是30M}
回复:FastChar
很简单,如下代码: