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