This commit is contained in:
2024-06-07 12:10:26 +08:00
parent e28f39843c
commit 601726ecd8
2 changed files with 3 additions and 3 deletions

View File

@@ -1,6 +1,6 @@
import * as types from '../types'
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://47.98.105.245:8011' : 'http://192.168.81.252:8010'
const baseUrl = process.env.NODE_ENV === 'development' ? 'http://localhost:8011' : 'http://localhost:8011'
const imgBaseUrl = process.env.NODE_ENV === 'development' ? 'http://192.168.81.252:8010' : 'http://192.168.81.252:8010'
const state = {
baseUrl: uni.getStorageSync('baseUrl') || baseUrl,