|
1 | 1 | package me.chanjar.weixin.mp.bean;
|
2 | 2 |
|
3 |
| -import java.io.IOException; |
4 |
| -import java.io.InputStream; |
5 |
| -import java.io.Serializable; |
6 |
| -import java.util.ArrayList; |
7 |
| -import java.util.List; |
8 |
| - |
9 |
| -import org.apache.commons.io.IOUtils; |
10 |
| -import org.apache.commons.lang3.builder.ToStringBuilder; |
11 |
| -import org.apache.commons.lang3.builder.ToStringStyle; |
12 |
| - |
13 | 3 | import com.thoughtworks.xstream.annotations.XStreamAlias;
|
14 | 4 | import com.thoughtworks.xstream.annotations.XStreamConverter;
|
15 |
| - |
16 | 5 | import me.chanjar.weixin.common.util.xml.XStreamCDataConverter;
|
17 | 6 | import me.chanjar.weixin.mp.api.WxMpConfigStorage;
|
18 | 7 | import me.chanjar.weixin.mp.util.crypto.WxMpCryptUtil;
|
19 | 8 | import me.chanjar.weixin.mp.util.xml.XStreamTransformer;
|
| 9 | +import org.apache.commons.io.IOUtils; |
| 10 | +import org.apache.commons.lang3.builder.ToStringBuilder; |
| 11 | +import org.apache.commons.lang3.builder.ToStringStyle; |
| 12 | + |
| 13 | +import java.io.IOException; |
| 14 | +import java.io.InputStream; |
| 15 | +import java.io.Serializable; |
| 16 | +import java.util.ArrayList; |
| 17 | +import java.util.List; |
20 | 18 |
|
21 | 19 | /**
|
22 | 20 | * <pre>
|
@@ -209,6 +207,69 @@ public class WxMpXmlMessage implements Serializable {
|
209 | 207 | @XStreamAlias("SendLocationInfo")
|
210 | 208 | private SendLocationInfo sendLocationInfo = new SendLocationInfo();
|
211 | 209 |
|
| 210 | + /////////////////////////////////////// |
| 211 | + // 门店审核事件推送 |
| 212 | + /////////////////////////////////////// |
| 213 | + /** |
| 214 | + * UniqId |
| 215 | + * 商户自己内部ID,即字段中的sid |
| 216 | + */ |
| 217 | + @XStreamAlias("UniqId") |
| 218 | + private String storeUniqId; |
| 219 | + |
| 220 | + /** |
| 221 | + * PoiId |
| 222 | + * 微信的门店ID,微信内门店唯一标示ID |
| 223 | + */ |
| 224 | + @XStreamAlias("PoiId") |
| 225 | + private String poiId; |
| 226 | + |
| 227 | + /** |
| 228 | + * Result |
| 229 | + * 审核结果,成功succ 或失败fail |
| 230 | + */ |
| 231 | + @XStreamAlias("Result") |
| 232 | + private String result; |
| 233 | + |
| 234 | + /** |
| 235 | + * msg |
| 236 | + * 成功的通知信息,或审核失败的驳回理由 |
| 237 | + */ |
| 238 | + @XStreamAlias("msg") |
| 239 | + private String msg; |
| 240 | + |
| 241 | + public String getStoreUniqId() { |
| 242 | + return storeUniqId; |
| 243 | + } |
| 244 | + |
| 245 | + public void setStoreUniqId(String storeUniqId) { |
| 246 | + this.storeUniqId = storeUniqId; |
| 247 | + } |
| 248 | + |
| 249 | + public String getPoiId() { |
| 250 | + return poiId; |
| 251 | + } |
| 252 | + |
| 253 | + public void setPoiId(String poiId) { |
| 254 | + this.poiId = poiId; |
| 255 | + } |
| 256 | + |
| 257 | + public String getResult() { |
| 258 | + return result; |
| 259 | + } |
| 260 | + |
| 261 | + public void setResult(String result) { |
| 262 | + this.result = result; |
| 263 | + } |
| 264 | + |
| 265 | + public String getMsg() { |
| 266 | + return msg; |
| 267 | + } |
| 268 | + |
| 269 | + public void setMsg(String msg) { |
| 270 | + this.msg = msg; |
| 271 | + } |
| 272 | + |
212 | 273 | public String getToUserName() {
|
213 | 274 | return this.toUserName;
|
214 | 275 | }
|
|
0 commit comments