You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
684 B
19 lines
684 B
3 years ago
|
package com.dsideal.FengHuang.Zjb.Controller;
|
||
|
|
||
|
import com.dsideal.FengHuang.Interceptor.IsNumericInterface;
|
||
|
import com.dsideal.FengHuang.Util.CommonUtil;
|
||
|
import com.dsideal.FengHuang.Zjb.Model.ZjbModel;
|
||
|
import com.jfinal.aop.Before;
|
||
|
import com.jfinal.core.Controller;
|
||
|
import com.jfinal.ext.interceptor.POST;
|
||
|
|
||
|
public class ZjbController extends Controller {
|
||
|
ZjbModel zm = new ZjbModel();
|
||
|
|
||
|
@Before({POST.class})
|
||
|
@IsNumericInterface({"module_id", "page"})
|
||
|
public void saveModulePage(int module_id, int page, String json) {
|
||
|
zm.saveModulePage(module_id, page, json);
|
||
|
renderJson(CommonUtil.returnMessageJson(true, "保存成功!"));
|
||
|
}
|
||
|
}
|