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';
|
||||
|
||||
// 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({
|
||||
onLaunch: function () {},
|
||||
onShow: function () {
|
||||
|
@ -2,10 +2,9 @@ import {
|
||||
setStorage,
|
||||
getStorage
|
||||
} from '~/utils/storage'
|
||||
|
||||
// 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/';
|
||||
import {
|
||||
ServerBasePath
|
||||
} from '~/app'
|
||||
|
||||
// 网络请求封装
|
||||
export function request(option) {
|
||||
|
Loading…
Reference in New Issue
Block a user