fixed 修改接口地址位置为app.js
This commit is contained in:
parent
2ccc3fc39b
commit
7b8aa82de1
4
app.js
4
app.js
@ -1,5 +1,9 @@
|
|||||||
import updateManager from './common/updateManager';
|
import updateManager from './common/updateManager';
|
||||||
|
|
||||||
|
// export const ServerBasePath = 'http://localhost:8888/api/';
|
||||||
|
// export const ServerBasePath = 'http://192.168.1.102:8888/api/';
|
||||||
|
export const ServerBasePath = 'http://shop.api.aerwen.net/api/';
|
||||||
|
|
||||||
App({
|
App({
|
||||||
onLaunch: function () {},
|
onLaunch: function () {},
|
||||||
onShow: function () {
|
onShow: function () {
|
||||||
|
@ -2,10 +2,9 @@ import {
|
|||||||
setStorage,
|
setStorage,
|
||||||
getStorage
|
getStorage
|
||||||
} from '~/utils/storage'
|
} from '~/utils/storage'
|
||||||
|
import {
|
||||||
// export const ServerBasePath = 'http://localhost:8888/api/';
|
ServerBasePath
|
||||||
// export const ServerBasePath = 'http://192.168.1.102:8888/api/';
|
} from '~/app'
|
||||||
export const ServerBasePath = 'http://shop.api.aerwen.net/api/';
|
|
||||||
|
|
||||||
// 网络请求封装
|
// 网络请求封装
|
||||||
export function request(option) {
|
export function request(option) {
|
||||||
|
Loading…
Reference in New Issue
Block a user