PLF 5 anos atrás
pai
commit
1bbf8b0925

+ 1 - 1
src/main/java/com/caimei/service/user/impl/LoginServiceImpl.java

@@ -32,7 +32,7 @@ public class LoginServiceImpl implements LoginService {
         CmOperationUser cmOperationUser = loginMapper.doLogin(operationUser.getOpenid(), operationUser.getUserOrganizeID());
         //判断是否已有绑定用户
         if (cmOperationUser != null) {
-            return res.error("您已授权,无需重复登录~");
+            return res.error("您已授权,无需重复登录");
         }
         CmOperationUser user = loginMapper.query(operationUser);
         //判断是否存在已下线的会所用户

+ 1 - 1
src/main/resources/mapper/LoginMapper.xml

@@ -52,7 +52,7 @@
           status = #{status},
           delFlag = #{delFlag}
         WHERE
-          openid = #{openid}
+          id = #{id}
           AND userOrganizeID = #{userOrganizeID}
     </update>