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
704bec40
Commit
704bec40
authored
Dec 09, 2020
by
zhangleyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改AppTermEnum的类型的值
parent
8b57a405
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
src/modules/personalInfo/ChangePhoneModal.tsx
+1
-1
src/modules/root/Login.jsx
+2
-2
No files found.
src/modules/personalInfo/ChangePhoneModal.tsx
View file @
704bec40
...
@@ -60,7 +60,7 @@ function ChangePhoneModal(props: changePhoneModalProps) {
...
@@ -60,7 +60,7 @@ function ChangePhoneModal(props: changePhoneModalProps) {
sessionId
:
checkData
.
csessionid
,
sessionId
:
checkData
.
csessionid
,
token
:
checkData
.
token
,
token
:
checkData
.
token
,
scene
:
'nc_login'
,
scene
:
'nc_login'
,
appTermEnum
:
'XIAOMAI_CLOUD_CLASS_PC_WEB'
appTermEnum
:
'XIAOMAI_CLOUD_CLASS_PC_WEB
_ADMIN
'
}
}
BaseService
.
sendNewPhoneAuthCode
(
param
).
then
((
res
)
=>
{
BaseService
.
sendNewPhoneAuthCode
(
param
).
then
((
res
)
=>
{
timeSub
(
60
,
0
);
timeSub
(
60
,
0
);
...
...
src/modules/root/Login.jsx
View file @
704bec40
...
@@ -51,7 +51,7 @@ function Login(props) {
...
@@ -51,7 +51,7 @@ function Login(props) {
token
:
checkData
.
token
,
token
:
checkData
.
token
,
scene
:
'nc_login'
,
scene
:
'nc_login'
,
serverType
:
"CLOUD_CLASS_LOGIN"
,
serverType
:
"CLOUD_CLASS_LOGIN"
,
appTermEnum
:
'XIAOMAI_CLOUD_CLASS_PC_WEB'
appTermEnum
:
'XIAOMAI_CLOUD_CLASS_PC_WEB
_ADMIN
'
}
}
axios
.
post
(
'https://dev-heimdall.xiaomai5.com/hades/anon/hades/sendLoginAuthCode'
,
params
).
then
((
res
)
=>
{
axios
.
post
(
'https://dev-heimdall.xiaomai5.com/hades/anon/hades/sendLoginAuthCode'
,
params
).
then
((
res
)
=>
{
if
(
!
res
.
data
.
success
)
{
if
(
!
res
.
data
.
success
)
{
...
@@ -86,7 +86,7 @@ function Login(props) {
...
@@ -86,7 +86,7 @@ function Login(props) {
const
params
=
{
const
params
=
{
phone
,
phone
,
authCode
:
phoneverify
,
authCode
:
phoneverify
,
appTermEnum
:
"XIAOMAI_CLOUD_CLASS_PC_WEB"
appTermEnum
:
"XIAOMAI_CLOUD_CLASS_PC_WEB
_ADMIN
"
}
}
axios
.
post
(
'https://dev-heimdall.xiaomai5.com/hades/anon/hades/login'
,
params
).
then
((
res
)
=>
{
axios
.
post
(
'https://dev-heimdall.xiaomai5.com/hades/anon/hades/login'
,
params
).
then
((
res
)
=>
{
const
data
=
res
.
data
;
const
data
=
res
.
data
;
...
...
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