修正卡券advanced_info 的bug;

修正 更新卡券 api时,清除不可更改字段的内容;
This commit is contained in:
fengyapeng committed 2016-12-26 13:18:19 +08:00
1 parent a00c40d3bb
commit 76f2787f89
6 files changed
+87 -10

No files matched your search

@@ -225,6 +225,7 @@ public class CardApi extends MpApi {
JSONObject request = new JSONObject();
request.put("card_id", cardId);
CardType cardType = card.getCardType();
card.cleanCantUpdateField();
request.put(cardType.name().toLowerCase(), card);
String card_update_uri = getRequestUri("card_update_uri");
Token token = tokenManager.getCache();