Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-cloud-class-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xiaomai-cloud-class
xiaomai-cloud-class-web
Commits
08b6b5ad
Commit
08b6b5ad
authored
Dec 11, 2020
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改登录和登录获取验证码的接口
parent
2eed56ec
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
src/data-source/base/request-apis.ts
+1
-2
src/modules/root/Login.jsx
+1
-3
No files found.
src/data-source/base/request-apis.ts
View file @
08b6b5ad
...
...
@@ -2,7 +2,7 @@
* @Author: wufan
* @Date: 2020-12-01 17:21:21
* @LastEditors: zhangleyuan
* @LastEditTime: 2020-12-
11 13:36:32
* @LastEditTime: 2020-12-
22 15:26:59
* @Description: Description
* @@Copyrigh: © 2020 杭州杰竞科技有限公司 版权所有
*/
...
...
@@ -17,7 +17,6 @@ export function login(params: object) {
export
function
getUserStore
(
params
:
object
)
{
return
Service
.
Hades
(
"public/hades/getUserStore"
,
params
);
}
export
function
getUserPermission
(
params
:
object
)
{
return
Service
.
Hades
(
"public/hades/getPermission"
,
params
);
}
...
...
src/modules/root/Login.jsx
View file @
08b6b5ad
...
...
@@ -6,6 +6,7 @@ import './Login.less';
import
{
Input
,
Popover
,
message
}
from
'antd'
;
import
CheckBeforeSendCode
from
'../../components/CheckBeforeSendCode'
;
import
User
from
'@/common/js/user'
;
import
BaseService
from
"@/domains/basic-domain/baseService"
;
import
axios
from
'axios'
;
import
_
from
'underscore'
;
import
BaseService
from
"@/domains/basic-domain/baseService"
;
...
...
@@ -20,9 +21,6 @@ function Login(props) {
const
[
errorMessage
,
setErrorMessage
]
=
useState
(
''
);
const
[
phoneError
,
setPhoneError
]
=
useState
(
false
);
const
[
checkObject1
,
setCheckObject1
]
=
useState
({});
useEffect
(()
=>
{
},
[])
async
function
checkAccount
(
code
,
callback
=
()
=>
{
})
{
callback
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment