Commit 704bec40 by zhangleyuan

feat:修改AppTermEnum的类型的值

parent 8b57a405
...@@ -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);
......
...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment