lyhzzz 1 개월 전
부모
커밋
7e9de2d229
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/main/java/com/fdkankan/ucenter/controller/app/SceneApiController.java

+ 2 - 2
src/main/java/com/fdkankan/ucenter/controller/app/SceneApiController.java

@@ -183,8 +183,8 @@ public class SceneApiController extends BaseController {
         } catch (Exception e) {
             throw new BusinessException(LoginConstant.FAILURE_CODE_3014, LoginConstant.FAILURE_MSG_3014);
         }
-        if(!SecurityUtil.MD5(passwordCode).equals(ssoUser.getPassword())) {
-            throw new BusinessException(LoginConstant.FAILURE_CODE_3015, LoginConstant.FAILURE_MSG_3015);
+        if(!passwordCode.equals(ssoUser.getPassword())) {
+            throw new BusinessException(LoginConstant.FAILURE_CODE_3014, LoginConstant.FAILURE_MSG_3015);
         }
         return sendResponse(ssoUser,webSite, request,response,sceneNum,lang,vlog, pad);