|
@@ -105,7 +105,13 @@ public class CpsPopularizeServiceImpl implements CpsPopularizeService {
|
|
|
if (StrUtil.isEmpty(dsCode)) {
|
|
if (StrUtil.isEmpty(dsCode)) {
|
|
|
user.setShowId(userService.getUserShowId(user.getId()));
|
|
user.setShowId(userService.getUserShowId(user.getId()));
|
|
|
}
|
|
}
|
|
|
- String sharedUrl = String.format(envCommonService.getHost() + "applets/landing/get/corp/active/qrCode/%s?dsCode=%s", Constant.EP_AC_CODE_ID, dsCode);
|
|
|
|
|
- return sharedUrl;
|
|
|
|
|
|
|
+ String sharedUrl;
|
|
|
|
|
+ if (envCommonService.isPrdEnv()) {
|
|
|
|
|
+ sharedUrl = String.format(envCommonService.getDomain() + "?serviceCode=%s&dsCode=%s", Constant.EP_AC_CODE_ID, dsCode);
|
|
|
|
|
+ } else {
|
|
|
|
|
+ //测试环境
|
|
|
|
|
+ sharedUrl = String.format(envCommonService.getDomain() + "test/web/?serviceCode=%s&dsCode=%s", Constant.EP_AC_CODE_ID, dsCode);
|
|
|
|
|
+ }
|
|
|
|
|
+ return sharedUrl;
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|