修改了外链的问题
This commit is contained in:
parent
7d54455df8
commit
ac21e51039
@ -157,7 +157,7 @@ public class CaseClinicalArticleService {
|
||||
IncClinicalArticleStats(String.valueOf(caseClinicalArticle.getArticleId()),4,1);
|
||||
|
||||
byte[] qrcodeBytes = new byte[0];
|
||||
if (addForm.getIsLink() == 1){
|
||||
if (addForm.getIsLink() != 1){
|
||||
// 生成文章分享二维码
|
||||
qrcodeBytes = addUnlimitedQrcode(caseClinicalArticle.getArticleId());
|
||||
if (qrcodeBytes == null || qrcodeBytes.length == 0) {
|
||||
@ -757,7 +757,7 @@ public class CaseClinicalArticleService {
|
||||
addHospitalSet.add(String.valueOf(caseClinicalDoctor.getHospitalId()));
|
||||
|
||||
// 处理证书问题-非外链时才会更新
|
||||
if (caseClinicalArticle.getIsLink() == 1){
|
||||
if (caseClinicalArticle.getIsLink() != 1){
|
||||
// 生成用户证书-文章/视频
|
||||
if (qrCodeBytes == null || qrCodeBytes.length == 0) {
|
||||
// 生成二维码图片
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user