修正卡券advanced_info 的bug;

修正 更新卡券 api时,清除不可更改字段的内容;
This commit is contained in:
fengyapeng
2016-12-26 13:18:19 +08:00
parent a00c40d3bb
commit 76f2787f89
6 changed files with 87 additions and 10 deletions
@@ -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();