注销账户功能页面开发

This commit is contained in:
fengerli
2025-09-18 16:46:32 +08:00
parent 4123e7a869
commit 9be161d8aa
5 changed files with 4987 additions and 3183 deletions

View File

@ -19,7 +19,7 @@ export function resourceSmsCode(params) {
// 退出登录
export function Logout(data) {
return request({
url: '/app/auth/logout',
url: '/app/userCenter/logout',
method: 'POST',
data: data
})

View File

@ -2,17 +2,17 @@
const config = {
// 开发环境
development: {
BASE_URL: 'http://192.168.110.56:8000',
BASE_URL: 'http://192.168.2.34:8000',
API_PREFIX: '',
// MQTT 配置
MQTT_HOST: '47.120.79.150',
MQTT_PORT: 8083,
MQTT_USERNAME: 'admin',
MQTT_PASSWORD: '#YtvpSfCNG'
MQTT_PASSWORD: '#YtvpSfCNG'
},
// 生产环境
production: {
BASE_URL: 'http://47.120.79.150/backend', // https://fuyuanshen.com/backend
BASE_URL: 'https://fuyuanshen.com/backend',
API_PREFIX: '',
// MQTT 配置
MQTT_HOST: '47.120.79.150',

View File

@ -50,7 +50,7 @@
<style scoped>
.cancel-account-page {
background: rgba(18, 18, 18, 1);
min-height: 94vh;
min-height: 100vh;
display: flex;
flex-direction: column;
}

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,5 @@
import config from '../config/index.js';
const env = 'development'; //production development //开发of线上 改这里就行
const env = 'production'; //production development //开发of线上 改这里就行
const BASE = config[env];
const request = (options) => {
console.log("options"+JSON.stringify(options),BASE.BASE_URL)