[JEEWX问题修复] JeeWX开源版2.3几处代码修改。

【微信公众账号管理】

原始ID一栏不显示( 原因是标签里面对"_"做了处理)

修改:weixin.guanjia.account.entity 类
private java.lang.String weixin_accountid;
改为:
private java.lang.String accountid;
同步 get()set() 方法修改。
修改 WebRoot\webpage\weixin\guanjia\account\*.jsp 中的weixin_accountid。
修改 数据库对应的字段列名。
修改 weixin.guanjia.core.service.impl.WechatService 类 中的weixin_accountid。



【菜单请求图文信息 】

修改spring-mvc.xml
找到:<value>newsItemController.do?newscontent</value>
改为:<value>newsItemController.do?newsContent</value>


修改 weixin.guanjia.message.controller.NewsItemController 类
找到: @RequestMapping(params="goContent")
public ModelAndView goContent(HttpServletRequest request){
修改:@RequestMapping(params="newsContent")
public ModelAndView newsContent(HttpServletRequest request){

修改:weixin.guanjia.core.service.impl.WechatService 类
if ("commond".equals(newsTemplate.getType())) {
url = bundler.getString("domain")+ "/newsItemController.do?newscontent&id="+ news.getId();
} else {
url = news.getContent();
}
article.setUrl(url);
article.setDescription(news.getContent());
改为:
if ("common".equals(newsTemplate.getType())) {// 菜单请求文本信息正常,图文信息提示改公众号无法服务
url = bundler.getString("domain")+ "/newsItemController.do?newsContent&id="+ news.getId(); // 点击图片正文跳转后的地址错误问题
} else {
url = news.getContent();
}
article.setUrl(url);
article.setDescription(news.getDescription()); // 单篇图文的时候返回的应该是摘要,返回正文当然后html标记的乱码。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值