Commit e0ddf168 by ws

Merge remote-tracking branch 'origin/master'

2 parents 048a3409 088877b4
...@@ -176,6 +176,6 @@ wecome: ...@@ -176,6 +176,6 @@ wecome:
- /service/get_login_info - /service/get_login_info
#企微回调通知配置 #企微回调通知配置
callBack: callBack:
appIdOrCorpId: ww24262ce93851488f
token: jtQ1aGHgSmH2UHNBIndUtUe6B6EwfR
encodingAesKey: Vga4HWv7nFbRDYK8iAaQbxmkuecpo2BAfmXAyWwcXMO
\ No newline at end of file \ No newline at end of file
appIdOrCorpId:
token:
encodingAesKey:
\ No newline at end of file \ No newline at end of file
...@@ -47,9 +47,6 @@ public class WePosterFontServiceImpl extends ServiceImpl<WePosterFontMapper,WePo ...@@ -47,9 +47,6 @@ public class WePosterFontServiceImpl extends ServiceImpl<WePosterFontMapper,WePo
if(posterFont == null){ if(posterFont == null){
throw new RuntimeException("字体id为:"+id+"的字体不存在"); throw new RuntimeException("字体id为:"+id+"的字体不存在");
} }
if(StringUtils.isBlank(posterFont.getFontUrl())){
posterFont.setFontUrl("http://img.kometl.com/1.ttf");
}
Font font; Font font;
if((font=FONT_MAP.get(posterFont.getId())) != null){ if((font=FONT_MAP.get(posterFont.getId())) != null){
return font.deriveFont((float)size); return font.deriveFont((float)size);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!