feat(passport): 更新登录页面交互逻辑

- 修改手机号输入框提示文案为“请输入账号”- 移除手机号格式校验逻辑
- 将短信验证码输入框改为密码类型,并修改提示文案为“请输入密码”- 移除获取验证码按钮及相关倒计时逻辑
- 调整用户协议勾选框文案,去除“勾选表示您”前缀-优化登录接口调用参数格式
This commit is contained in:
2025-12-09 11:42:53 +08:00
parent 6bf4799789
commit 7df71448c9
4 changed files with 6 additions and 6 deletions

View File

@@ -2,19 +2,19 @@
export const ENV_CONFIG = {
// 开发环境
development: {
API_BASE_URL: 'https://cms-api.websoft.top/api',
API_BASE_URL: 'https://yd-api.websoft.top/api',
APP_NAME: '开发环境',
DEBUG: 'true',
},
// 生产环境
production: {
API_BASE_URL: 'https://cms-api.websoft.top/api',
API_BASE_URL: 'https://yd-api.websoft.top/api',
APP_NAME: '邕递+',
DEBUG: 'false',
},
// 测试环境
test: {
API_BASE_URL: 'https://cms-api.s209.websoft.top/api',
API_BASE_URL: 'https://yd-api.s209.websoft.top/api',
APP_NAME: '测试环境',
DEBUG: 'true',
}

View File

@@ -43,7 +43,7 @@ const Bm = () => {
// return false;
// }
Taro.request({
url: 'https://cms-api.websoft.top/api/shop/shop-order',
url: 'https://yd-api.websoft.top/api/shop/shop-order',
method: 'POST',
header: {
'content-type': 'application/json',

View File

@@ -1,7 +1,7 @@
// 租户ID
export const TenantId = 10519;
// 接口地址
export const BaseUrl = 'https://cms-api.websoft.top/api';
export const BaseUrl = 'https://yd-api.websoft.top/api';
// 当前版本
export const Version = 'v3.0.8';
// 版权信息

View File

@@ -4,7 +4,7 @@ import {BaseUrl, TenantId} from "@/utils/config";
let baseUrl = BaseUrl
if(process.env.NODE_ENV === 'development'){
baseUrl = 'http://localhost:9200/api'
// baseUrl = 'http://localhost:9200/api'
}
export function request<T>(options:any) {
const token = Taro.getStorageSync('access_token');