feat: 手机验证码调试
This commit is contained in:
@@ -37,7 +37,7 @@ import WechatRegister from './WechatRegister';
|
||||
|
||||
// API配置
|
||||
const isProduction = process.env.NODE_ENV === 'production';
|
||||
const API_BASE_URL = isProduction ? "" : "http://49.232.185.254:5000";
|
||||
const API_BASE_URL = isProduction ? "" : "http://49.232.185.254:5001";
|
||||
|
||||
// 统一配置对象
|
||||
const AUTH_CONFIG = {
|
||||
@@ -54,7 +54,7 @@ const AUTH_CONFIG = {
|
||||
// API配置
|
||||
api: {
|
||||
endpoint: '/api/auth/register/phone',
|
||||
purpose: 'register',
|
||||
purpose: 'login', // ⚡ 统一使用 'login' 模式
|
||||
},
|
||||
|
||||
// 功能开关
|
||||
|
||||
Reference in New Issue
Block a user