管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2022-10-17 431af122d22e9be757510ca75e268c164d16a450
src/main/java/com/lf/server/controller/all/SignController.java
@@ -1,6 +1,5 @@
package com.lf.server.controller.all;
import com.lf.server.aspect.LogAspect;
import com.lf.server.aspect.SysLog;
import com.lf.server.config.PropertiesConfig;
import com.lf.server.entity.all.ResponseMsg;
@@ -17,8 +16,6 @@
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiImplicitParams;
import io.swagger.annotations.ApiOperation;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.servlet.ModelAndView;
@@ -121,7 +118,7 @@
    @PostMapping(value = "/login", produces = "application/json; charset=UTF-8")
    public ResponseMsg<TokenEntity> login(@RequestBody UserEntity user, HttpServletRequest req, HttpServletResponse res) {
        try {
            String str = userService.validateNewPwd(user);
            String str = userService.validateLoginPwd(user);
            if (str != null) {
                return fail(str, null);
            }