收藏
回答

wx.addCard的时候显示已领取?

问题模块
开发者工具


小程序调用wx.addCard显示已领取,card信息如下:


{"errcode":0,"errmsg":"ok","card":{"card_type":"GENERAL_CARD","general_card":{"base_info":{"id":"pAMbwjrhCYV0tk58ou2Vq93uXR7k","logo_url":"http:\/\/mmbiz.qpic.cn\/mmbiz_png\/cYLkibwyhDQ8YHNyuN7XbCk8hEg9RQk9OP3dhVUot3vFeS6zCwGiad8w9oTaOrpHic0IJEgRyRysBSlS31PC85Jog\/0","code_type":"CODE_TYPE_TEXT","brand_name":"普罗旺斯欧舒丹礼品卡","title":"我要霸占你的美","date_info":{"type":"DATE_TYPE_FIX_TIME_RANGE","begin_timestamp":1509465600,"end_timestamp":1514563200},"color":"#e4b138","notice":"测试","service_phone":"020-1324657","description":"我要霸占你的美-测试","location_id_list":[],"get_limit":0,"can_share":true,"can_give_friend":true,"use_custom_code":false,"status":"CARD_STATUS_VERIFY_OK","sku":{"quantity":10000,"total_quantity":10000},"create_time":1509565752,"update_time":1509609008,"custom_url_name":"新品推荐","custom_app_brand_user_name":"xxxx@app","custom_app_brand_pass":"pages\/product\/product","promotion_app_brand_user_name":"xxxx@app","promotion_app_brand_pass":"pages\/index\/index","need_push_on_view":false,"center_title":"在线兑换","center_sub_title":"点击在线兑换","center_url":"www.qq.com","area_code_list":[],"giftcard_info":{"price":1},"max_give_friend_times":9999},"supply_bonus":false,"supply_balance":false,"init_balance":0,"auto_activate":true,"custom_field1":{},"custom_field2":{},"sub_card_type":"GIFT_CARD","background_pic_url":"http:\/\/mmbiz.qpic.cn\/mmbiz_jpg\/cYLkibwyhDQ8YHNyuN7XbCk8hEg9RQk9OobmlCZtS8YsyoOA8JHakSmIzv2CU7hibEx2zXljTBYPTD3bVLR5zemw\/0","advanced_info":{"time_limit":[],"text_image_list":[],"business_service":[],"consume_share_card_list":[],"share_friends":false}}}}



最后一次编辑于  2017-11-02
回答关注问题邀请回答
收藏

3 个回答

  • Crush
    Crush
    2018-11-19

    请问解决了吗?    加个好友行不

    2018-11-19
    赞同 1
    回复
  • 咻!如矢
    咻!如矢
    08-07

    当前卡已被领取过一次了,可以试试重新创建一张相同的卡

    08-07
    赞同
    回复
  • fy
    fy
    2018-11-16

    一样的问题   求官方解答

    2018-11-16
    赞同
    回复