mirror of
https://github.com/continew-org/continew-admin.git
synced 2026-01-04 00:59:28 +08:00
新增:新增修改邮箱功能,并优化部分以往代码(引入 spring-boot-starter-mail 用于发送邮件验证码)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import { defineStore } from 'pinia';
|
||||
import {
|
||||
getImageCaptcha as getCaptcha,
|
||||
login as userLogin,
|
||||
logout as userLogout,
|
||||
getUserInfo,
|
||||
LoginReq,
|
||||
} from '@/api/auth/login';
|
||||
import { getImageCaptcha as getCaptcha } from '@/api/common/captcha';
|
||||
import { setToken, clearToken } from '@/utils/auth';
|
||||
import { removeRouteListener } from '@/utils/route-listener';
|
||||
import { UserState } from './types';
|
||||
|
||||
Reference in New Issue
Block a user