mirror of
				https://gitee.com/binary/weixin-java-tools.git
				synced 2025-10-31 18:46:10 +08:00 
			
		
		
		
	fix: issue #112
This commit is contained in:
		| @ -34,7 +34,7 @@ public class WxCpMessageGsonAdapter implements JsonSerializer<WxCpMessage> { | |||||||
|       messageJson.addProperty("toparty", message.getToParty()); |       messageJson.addProperty("toparty", message.getToParty()); | ||||||
|     } |     } | ||||||
|     if (StringUtils.isNotBlank(message.getToTag())) { |     if (StringUtils.isNotBlank(message.getToTag())) { | ||||||
|       messageJson.addProperty("totag", message.getToUser()); |       messageJson.addProperty("totag", message.getToTag()); | ||||||
|     } |     } | ||||||
|     if (WxConsts.CUSTOM_MSG_TEXT.equals(message.getMsgType())) { |     if (WxConsts.CUSTOM_MSG_TEXT.equals(message.getMsgType())) { | ||||||
|       JsonObject text = new JsonObject(); |       JsonObject text = new JsonObject(); | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user
	 Daniel Qian
					Daniel Qian