..
This commit is contained in:
+2
-2
@@ -46,8 +46,8 @@ public class SuggestionBoxMineController {
|
||||
|
||||
@At
|
||||
@Ok("beetl:/platform/zhghh5/democratic/suggestionBox/mine/index.html")
|
||||
@SaCheckLogin
|
||||
public void h5Index() {
|
||||
@SaCheckPermission("h5.suggestionBox.mine")
|
||||
public void h5() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
+5
-2
@@ -24,6 +24,7 @@ import org.nutz.mvc.annotation.At;
|
||||
import org.nutz.mvc.annotation.Ok;
|
||||
import org.nutz.mvc.annotation.Param;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
@IocBean
|
||||
@@ -48,8 +49,8 @@ public class SuggestionBoxWriteController {
|
||||
|
||||
@At
|
||||
@Ok("beetl:/platform/zhghh5/democratic/suggestionBox/write/index.html")
|
||||
@SaCheckLogin
|
||||
public void h5Index(){
|
||||
@SaCheckPermission("h5.suggestionBox.write")
|
||||
public void h5(){
|
||||
|
||||
}
|
||||
|
||||
@@ -58,6 +59,7 @@ public class SuggestionBoxWriteController {
|
||||
@ApiOperation("保存申请")
|
||||
@SLog(tag = "建言献策-填写申请", msg = "保存申请")
|
||||
public Result save(@Param("data") SuggestionBox suggestionBox) {
|
||||
suggestionBox.setSubmitTime(new Date());
|
||||
dao.insertOrUpdate(suggestionBox);
|
||||
return Result.success();
|
||||
}
|
||||
@@ -69,6 +71,7 @@ public class SuggestionBoxWriteController {
|
||||
@Aop(TransAop.READ_COMMITTED)
|
||||
@SLog(tag = "建言献策-填写申请", msg = "提交申请")
|
||||
public Result submit(@Param("data") SuggestionBox suggestionBox) {
|
||||
suggestionBox.setSubmitTime(new Date());
|
||||
dao.insertOrUpdate(suggestionBox);
|
||||
// 开启流程实例
|
||||
Dict args = Dict.create();
|
||||
|
||||
+2
-3
@@ -1,6 +1,5 @@
|
||||
package com.budwk.app.zhgh.democratic.suggestionBox.controller;
|
||||
|
||||
import cn.dev33.satoken.annotation.SaCheckLogin;
|
||||
import cn.dev33.satoken.annotation.SaCheckPermission;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import com.budwk.app.base.page.Pagination;
|
||||
@@ -43,8 +42,8 @@ public class SuggestionXghController {
|
||||
|
||||
@At
|
||||
@Ok("beetl:/platform/zhghh5/democratic/suggestionBox/xgh/index.html")
|
||||
@SaCheckPermission("suggestionBox.xgh")
|
||||
public void h5Index() {
|
||||
@SaCheckPermission("h5.suggestionBox.xgh")
|
||||
public void h5() {
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user