患者1.2
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@
|
||||
function hostConfig(){
|
||||
const Hosts = {
|
||||
host_dev:'https://dev.hospital.applets.igandanyiyuan.com',
|
||||
img_dev: 'https://oss.prod.applets.igandanyiyuan.com/applet/patient/static', //开发环境
|
||||
img_dev: 'https://img.applets.igandanyiyuan.com/applet/patient/static', //开发环境
|
||||
agree_dev:'https://img.applets.igandanyiyuan.com',
|
||||
host_prod:'https://prod.hospital.applets.igandanyiyuan.com',
|
||||
img_prod: 'https://oss.prod.applets.igandanyiyuan.com/applet/patient/static', //线上环境
|
||||
|
||||
@@ -29,6 +29,13 @@ function imLogin(app){
|
||||
userSig:data
|
||||
}).then(res=>{
|
||||
console.log("登录成功");
|
||||
// wx.callManager.init({
|
||||
// sdkAppID: appglobal.globalData.config.SDKAPPID, // 请填入 sdkAppID
|
||||
// userID: wx.getStorageSync('USER_ID'), // 请填入 userID
|
||||
// userSig: data, // 请填入 userSig
|
||||
// globalCallPagePath: "TUICallKit/pages/globalCall/globalCall",
|
||||
// tim: wx.$TUIKit
|
||||
// });
|
||||
}).catch(function(imError) {
|
||||
console.warn('login error:', imError); // 登录失败的相关信息
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user