|
@@ -141,7 +141,7 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
|
|
UserProfileVo info = baseMapper.getInfo(userProfileQueryBo);
|
|
UserProfileVo info = baseMapper.getInfo(userProfileQueryBo);
|
|
//第一种方式
|
|
//第一种方式
|
|
Map<String, String> maps = JSONObject.parseObject(info.getKeyValue(),Map.class);
|
|
Map<String, String> maps = JSONObject.parseObject(info.getKeyValue(),Map.class);
|
|
- JSONObject name = JSONObject.parseObject(maps.get("name"));
|
|
|
|
|
|
+ String s = String.valueOf(maps.get("data"));
|
|
//默认配置就够用了
|
|
//默认配置就够用了
|
|
TemplateEngine engine = TemplateUtil.createEngine(new TemplateConfig("templates", TemplateConfig.ResourceMode.CLASSPATH));
|
|
TemplateEngine engine = TemplateUtil.createEngine(new TemplateConfig("templates", TemplateConfig.ResourceMode.CLASSPATH));
|
|
Template template = engine.getTemplate("word.ftl");
|
|
Template template = engine.getTemplate("word.ftl");
|