package com.ks.push.controller.admin; import com.ks.push.pojo.DO.BPushAppInfo; import org.springframework.stereotype.Controller; import org.springframework.validation.BindingResult; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import javax.annotation.Resource; import javax.servlet.http.HttpSession; import javax.validation.constraints.NotEmpty; @Controller @RequestMapping("/admin/api/app") public class AdminAppController { @Resource private BPushAppInfo adminUserManager; @ResponseBody @RequestMapping("list") public String list(@NotEmpty(message = "账号不能为空") String account, @NotEmpty(message = "密码不能为空") String pwd, @NotEmpty(message = "验证码不能为空") String code, BindingResult bindingResult, HttpSession session) { return null; } }