Skip to content

FavorAvailableTime类字段描述错误 #395

@haitanghua1122

Description

@haitanghua1122

错误描述

FavorAvailableTime类的availableTimeAfterReceive字段与微信支付产品文档不匹配,微信支付文档是以天为单位,sdk描述的是以分钟为单位

重现bug的步骤

  1. 查看sdk时发现的问题

预期行为

希望同步一下微信文档的描述

导致错误的代码片段

微信文档available_time_after_receive  选填   integer领取后有效时间领取后券的结束时间为领取N天后如设置领取后7天有效那么7月1日领券在7月7日23:59:59失效在可用时间内计算失效时间若券还未到领取后N天但是已经到了可用结束时间那么也会过期领取后有效时间单位该字段暂未开放  

微信支付SDK/** 领取后有效时间 说明:领取后有效时间,单位分钟 */
  @SerializedName("available_time_after_receive")
  private Integer availableTimeAfterReceive;

操作系统

windows10

Java 版本

Java 17

wechatpay-java 版本

0.2.17

其他信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions