fuint-application/application-web/src/main/java/com/fuint/application/web/backend/subMessage/subMessageController.java
(开头部分) 5KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
package com.fuint.application.web.backend.subMessage;
import com.alibaba.fastjson.JSONObject;
import com.fuint.application.dao.entities.MtSetting;
import com.fuint.application.enums.SettingTypeEnum;
import com.fuint.application.enums.StatusEnum;
import com.fuint.application.enums.WxMessageEnum;
import com.fuint.application.service.setting.SettingService;
import com.fuint.application.service.weixin.WeixinService;
import com.fuint.base.shiro.ShiroUser;
import com.fuint.base.shiro.util.ShiroUserHelper;
import com.fuint.exception.BusinessCheckException;
import com.fuint.application.dto.SubMessageDto;
import org.apache.commons.lang.StringUtils;
import org.apache.shiro.authz.annotation.RequiresPermissions;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;
import org.springframework.web.bind.annotation.*;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.*;
/**
* 订阅消息管理类controller
* Created by FSQ
* Contact wx fsq_better
* Site https://www.fuint.cn
*/
@Controller
@RequestMapping(value = "/backend/subMessage")
public class subMessageController {
/**
* 微信相关接口
* */
@Autowired
private WeixinService weixinService;
/**
* 配置服务接口
* */
@Autowired
private SettingService settingService;
@Autowired
private Environment env;
/**
* 订阅消息管理
*
* @param request HttpServletRequest对象
* @param response HttpServletResponse对象
* @param model SpringFramework Model对象
* @return 列表展现页面
*/
@RequiresPermissions("backend/subMessage/index")
@RequestMapping(value = "/index")
public String index(HttpServletRequest request, HttpServletResponse response, Model model) throws BusinessCheckException {
后面还有 87 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。