• 微信卡券开发,代金券修改卡券信息返回40145错误码: invalid update! Can not both set PayCell and CenterCellInfo(include: center_title, center_sub_title, center_url). hint: [DZ9rna0637ent1]


     
    修改代金券,接口返回的数组是这样的内容
    Array ( [errcode] => 40145 [errmsg] => invalid update! Can not both set PayCell and CenterCellInfo(include: center_title, center_sub_title, center_url). hint: [DZ9rna0637ent1] ) 
     
    全局返回码,和卡券错误编码,没有找到这个:40145
     
    更改公众号创建的卡券信息接口,团购券和礼品券能够修改这几个字段内容,代金券修改会返回这样的错误提示,是不是代金券不允许修改这几个字段内容?

     使用场景入口 立即使用 center_title、center_sub_title、center_url 仅卡券被用户领取且处于有效状态时显示(未到有效期、转赠中、核销后不显示)。
     
     
     
    一开始我也郁闷为什么代金券就是很特殊,后面仔细看了下文档
     
    并且比对了一下其他修改《使用场景入口》成功的卡券,核销方式要不是自助核销,要么是扫码核销,而改不了的这批卡券(代金券)全部是自助买单,看到这里好像发现了什么,于是将卡券改成自助核销
     
    代金券也能修改center_title, center_sub_title, center_url这些值了
     
     
     
  • 相关阅读:
    HDU 5392 Infoplane in Tina Town
    HDU 2206 IP的计算(字符串处理)
    线程的条件变量实例
    CentOS安装配置Samba
    PO订单审批拒绝API
    【Java集合源代码剖析】Hashtable源代码剖析
    magento megatron主题加入中文
    递归系列2(字符串翻转,12345翻转)
    机器学习之&&Andrew Ng课程复习--- 聚类——Clustering
    JSP基础
  • 原文地址:https://www.cnblogs.com/liugx/p/5843471.html
Copyright © 2020-2023  润新知