|
@@ -1,5 +1,5 @@
|
|
|
let v = wx.getAccountInfoSync()
|
|
let v = wx.getAccountInfoSync()
|
|
|
-let apiUrl = `${v.miniProgram.envVersion == 'release'?'https://interface.huihenduo.com.cn/hhd-pat-cargo-app/':'https://interface.huihenduo.com.cn/hhd-pat-cargo-app-dev/'}`
|
|
|
|
|
|
|
+let apiUrl = `${v.miniProgram.envVersion == 'release'?'https://interface.huihenduo.cc/hhd-cargo/':'https://interface.huihenduo.cc/hhd-cargo-dev/'}`
|
|
|
|
|
|
|
|
function api(url, data, method) {
|
|
function api(url, data, method) {
|
|
|
return new Promise((resolve, reject) => {
|
|
return new Promise((resolve, reject) => {
|