|
|
@@ -266,7 +266,7 @@ export class LoginModalComponent {
|
|
|
this.errorMsg = '';
|
|
|
|
|
|
try {
|
|
|
- const resp = await fetch(`${API_HOST}/api/apig/message`, {
|
|
|
+ const resp = await fetch(`${API_HOST}/api/fmode/mobile`, {
|
|
|
method: 'POST',
|
|
|
headers: {
|
|
|
'Content-Type': 'application/json',
|
|
|
@@ -304,7 +304,7 @@ export class LoginModalComponent {
|
|
|
|
|
|
try {
|
|
|
// 1. 调用登录接口获取 session token
|
|
|
- const loginUrl = `${API_HOST}/api/auth/mobile?mobile=${this.phone}&code=${this.code}`;
|
|
|
+ const loginUrl = `${API_HOST}/api/fmode/mobile?mobile=${this.phone}&code=${this.code}`;
|
|
|
const resp = await fetch(loginUrl, {
|
|
|
method: 'GET',
|
|
|
headers: { 'X-Parse-Application-Id': APP_ID }
|