|
@@ -44,7 +44,7 @@ public class MessageUtil {
|
|
|
* @param content
|
|
|
* @return
|
|
|
*/
|
|
|
- public static String initText(String toUserName, String fromUserName, String content) throws Exception{
|
|
|
+ public static String initText(String fromUserName, String toUserName, String content) throws Exception{
|
|
|
// 返回消息时ToUserName的值与FromUserName的互换
|
|
|
Map<String, String> returnMap = new HashMap<>();
|
|
|
returnMap.put("ToUserName", fromUserName);
|
|
@@ -68,7 +68,7 @@ public class MessageUtil {
|
|
|
* @param url 点击图文消息跳转链接
|
|
|
* @return
|
|
|
*/
|
|
|
- public static String initNews(String toUserName, String fromUserName, String articles, String title, String description, String picUrl, String url) throws Exception{
|
|
|
+ public static String initNews(String fromUserName, String toUserName, String articles, String title, String description, String picUrl, String url) throws Exception{
|
|
|
// 返回消息时ToUserName的值与FromUserName的互换
|
|
|
Map<String, String> returnMap = new HashMap<>();
|
|
|
returnMap.put("ToUserName", fromUserName);
|