zjd 医师端环境修改已经图片二维码刷新

This commit is contained in:
zoujiandong
2023-06-26 18:32:23 +08:00
parent 6d442f7563
commit 961bb44897
3 changed files with 10 additions and 4 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
const env = require('./config').dev
const { envVersion } = wx.getAccountInfoSync().miniProgram;
if(envVersion=="develop" || envVersion=="trial"){
let env = require('./config').dev
}else{
let env = require('./config').prod
};
class HTTP {
constructor() {
this.baseUrl = env.baseUrl,