Commit 110148f0 authored by shiyu's avatar shiyu

公众号暂时先默认为关注

parent 4edfffe3
...@@ -54,7 +54,9 @@ public class OfficialAccountSubscribeRecordServiceImpl implements OfficialAccoun ...@@ -54,7 +54,9 @@ public class OfficialAccountSubscribeRecordServiceImpl implements OfficialAccoun
try { try {
boolean flag = officialAccountSubscribeRecordDao.isSubscribed(unionid); boolean flag = officialAccountSubscribeRecordDao.isSubscribed(unionid);
Map<String, Object> map = new HashMap<>(); Map<String, Object> map = new HashMap<>();
map.put("isSubscribed", flag); // map.put("isSubscribed", flag);
//暂时先默认为关注
map.put("isSubscribed", true);
map.put("url", OFFICAL_ACCOUNT_URL); map.put("url", OFFICAL_ACCOUNT_URL);
return Result.success(map); return Result.success(map);
} catch (Exception e) { } catch (Exception e) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment