修改了外链的问题

This commit is contained in:
wucongxing8150 2025-08-29 13:12:43 +08:00
parent 7d54455df8
commit ac21e51039

View File

@ -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) {
// 生成二维码图片