|
@@ -1,10 +1,13 @@
|
|
|
|
|
|
-const baseUrl = 'http://api.dms.66km.com.cn/'
|
|
|
+
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
import $store from '../store'
|
|
|
-
|
|
|
+const extConfig = uni.getExtConfigSync();
|
|
|
+console.log(extConfig)
|
|
|
+const baseUrl=extConfig.url+'/'
|
|
|
const http = (url = '', date = {}, type = 'POST', header = {
|
|
|
}) => {
|
|
|
return new Promise((resolve, reject) => {
|