注销账户功能页面开发

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) { export function Logout(data) {
return request({ return request({
url: '/app/auth/logout', url: '/app/userCenter/logout',
method: 'POST', method: 'POST',
data: data data: data
}) })

View File

@ -2,7 +2,7 @@
const config = { const config = {
// 开发环境 // 开发环境
development: { development: {
BASE_URL: 'http://192.168.110.56:8000', BASE_URL: 'http://192.168.2.34:8000',
API_PREFIX: '', API_PREFIX: '',
// MQTT 配置 // MQTT 配置
MQTT_HOST: '47.120.79.150', MQTT_HOST: '47.120.79.150',
@ -12,7 +12,7 @@ const config = {
}, },
// 生产环境 // 生产环境
production: { production: {
BASE_URL: 'http://47.120.79.150/backend', // https://fuyuanshen.com/backend BASE_URL: 'https://fuyuanshen.com/backend',
API_PREFIX: '', API_PREFIX: '',
// MQTT 配置 // MQTT 配置
MQTT_HOST: '47.120.79.150', MQTT_HOST: '47.120.79.150',

View File

@ -50,7 +50,7 @@
<style scoped> <style scoped>
.cancel-account-page { .cancel-account-page {
background: rgba(18, 18, 18, 1); background: rgba(18, 18, 18, 1);
min-height: 94vh; min-height: 100vh;
display: flex; display: flex;
flex-direction: column; 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'; import config from '../config/index.js';
const env = 'development'; //production development //开发of线上 改这里就行 const env = 'production'; //production development //开发of线上 改这里就行
const BASE = config[env]; const BASE = config[env];
const request = (options) => { const request = (options) => {
console.log("options"+JSON.stringify(options),BASE.BASE_URL) console.log("options"+JSON.stringify(options),BASE.BASE_URL)