统一依赖BaseController,统一异常处理
This commit is contained in:
parent
dd0a537fc3
commit
d7b7985448
|
@ -1,5 +1,6 @@
|
|||
package com.zheng.upms.admin.controller;
|
||||
|
||||
import com.zheng.common.base.BaseController;
|
||||
import com.zheng.upms.dao.model.UpmsSystem;
|
||||
import com.zheng.upms.dao.model.UpmsSystemExample;
|
||||
import com.zheng.upms.rpc.api.UpmsSystemService;
|
||||
|
@ -19,7 +20,7 @@ import java.util.List;
|
|||
*/
|
||||
@Controller
|
||||
@RequestMapping("/manage")
|
||||
public class ManageController {
|
||||
public class ManageController extends BaseController {
|
||||
|
||||
private static Logger _log = LoggerFactory.getLogger(ManageController.class);
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package com.zheng.upms.admin.controller;
|
||||
|
||||
import com.zheng.common.base.BaseController;
|
||||
import com.zheng.common.util.CookieUtil;
|
||||
import com.zheng.common.util.RedisUtil;
|
||||
import com.zheng.upms.admin.util.SystemConstant;
|
||||
|
@ -37,7 +38,7 @@ import java.util.UUID;
|
|||
*/
|
||||
@Controller
|
||||
@RequestMapping("/sso")
|
||||
public class SSOController {
|
||||
public class SSOController extends BaseController {
|
||||
|
||||
private final static Logger _log = LoggerFactory.getLogger(SSOController.class);
|
||||
private final static int TIMEOUT = 2 * 60 * 60;
|
||||
|
|
Loading…
Reference in New Issue