lyhzzz 1 month ago
parent
commit
7e9de2d229

+ 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);