|
|
@@ -14,6 +14,7 @@ import com.ecloud.sdk.ecs.v1.model.VmRebootRequest;
|
|
|
import com.ecloud.sdk.ecs.v1.model.VmRebootResponse;
|
|
|
import com.fs.common.core.domain.R;
|
|
|
import com.fs.common.core.redis.RedisCache;
|
|
|
+import com.fs.common.utils.CloudHostUtils;
|
|
|
import com.fs.common.utils.PubFun;
|
|
|
import com.fs.company.domain.Company;
|
|
|
import com.fs.company.domain.CompanyUser;
|
|
|
@@ -23,6 +24,7 @@ import com.fs.company.service.ICompanyUserService;
|
|
|
import com.fs.config.ai.AiHostProper;
|
|
|
import com.fs.config.cloud.CloudHostProper;
|
|
|
import com.fs.his.config.FsSysConfig;
|
|
|
+import com.fs.his.domain.FsDfAccount;
|
|
|
import com.fs.his.utils.ConfigUtil;
|
|
|
import com.fs.ipad.IpadSendUtils;
|
|
|
import com.fs.ipad.param.WxSendAtMsgParam;
|
|
|
@@ -531,7 +533,10 @@ public class QwUserServiceImpl implements IQwUserService
|
|
|
if (result.getData().flag){
|
|
|
QwUser qwUser=new QwUser();
|
|
|
qwUser.setAppKey(appKey);
|
|
|
- qwUser.setLoginCodeUrl(result.getData().ipAddress);
|
|
|
+ if (!CloudHostUtils.hasCloudHostName("内蒙古一贴")) {
|
|
|
+ qwUser.setLoginCodeUrl(result.getData().ipAddress);
|
|
|
+ }
|
|
|
+// qwUser.setLoginCodeUrl(result.getData().ipAddress);
|
|
|
|
|
|
int i = qwUserMapper.updateQwUserByAppKeyToUrl(qwUser);
|
|
|
if (i>0){
|
|
|
@@ -668,7 +673,9 @@ public class QwUserServiceImpl implements IQwUserService
|
|
|
if (result.getData().flag){
|
|
|
QwUser qwUser=new QwUser();
|
|
|
qwUser.setAppKey(appKey);
|
|
|
- qwUser.setLoginCodeUrl(result.getData().ipAddress);
|
|
|
+ if (!CloudHostUtils.hasCloudHostName("内蒙古一贴")) {
|
|
|
+ qwUser.setLoginCodeUrl(result.getData().ipAddress);
|
|
|
+ }
|
|
|
|
|
|
int i = qwUserMapper.updateQwUserByAppKeyToUrl(qwUser);
|
|
|
if (i>0){
|
|
|
@@ -742,7 +749,9 @@ public class QwUserServiceImpl implements IQwUserService
|
|
|
if (result.getData().flag){
|
|
|
QwUser qwUser=new QwUser();
|
|
|
qwUser.setAppKey(appKey);
|
|
|
- qwUser.setLoginCodeUrl(result.getData().ipAddress);
|
|
|
+ if (!CloudHostUtils.hasCloudHostName("内蒙古一贴")) {
|
|
|
+ qwUser.setLoginCodeUrl(result.getData().ipAddress);
|
|
|
+ }
|
|
|
|
|
|
int i = qwUserMapper.updateQwUserByAppKeyToUrl(qwUser);
|
|
|
if (i>0){
|