This commit is contained in:
xd 2024-06-03 08:39:48 +08:00
parent ea00a18ad2
commit ed01e80503
4 changed files with 5 additions and 5 deletions

View File

@ -13,8 +13,8 @@ package com.ruoyi.web.controller.system;
import com.ruoyi.common.constant.Constants;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.model.NoPswLoginBody;
import com.ruoyi.common.utils.sign.SHA1;
import com.ruoyi.framework.web.service.SsoLoginService;
import com.ruoyi.web.utils.SHA1;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;

View File

@ -7,8 +7,8 @@ import java.util.stream.Collectors;
import javax.servlet.http.HttpServletResponse;
import com.ruoyi.common.constant.CacheConstants;
import com.ruoyi.common.core.redis.RedisCache;
import com.ruoyi.common.utils.sign.SHA1;
import com.ruoyi.system.service.*;
import com.ruoyi.web.utils.SHA1;
import org.apache.commons.lang3.ArrayUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;

View File

@ -1,4 +1,4 @@
package com.ruoyi.web.utils;
package com.ruoyi.common.utils.sign;
import java.security.MessageDigest;

View File

@ -27,9 +27,9 @@
<el-dialog :title="switchAccountTitle" :visible.sync="switchAccountOpen" width="500px" append-to-body>
<el-form ref="form" :model="form":rules="rules" label-width="100px">
<el-form ref="form" :model="form":rules="rules" label-width="100px" @submit.native.prevent>
<el-form-item label="账号" prop="account">
<el-input v-model="form.account" placeholder="请输入账号" clearable/>
<el-input v-model="form.account" placeholder="请输入账号" @keyup.enter.native="switchAccountConfirm(form.account)" clearable/>
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">