Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 9.1k
face(小程序): 订单接口,新增获取订单列表,生成支付参数接口#2650
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uh oh!
There was an error while loading. Please reload this page.
Changes from all commits
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading. Please reload this page.
Jump to
Uh oh!
There was an error while loading. Please reload this page.
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| package cn.binarywang.wx.miniapp.bean.shop; | ||
| import com.google.gson.annotations.SerializedName; | ||
| import lombok.Data; | ||
| import java.io.Serializable; | ||
| /** | ||
| * 推广员、分享员信息 | ||
| * | ||
| * @author zhongjun | ||
| * @date 2022/5/17 | ||
| **/ | ||
| @Data | ||
binarywang marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| public class WxMaShopPromotionInfo implements Serializable { | ||
| private static final long serialVersionUID = -812058443344709898L; | ||
| /** | ||
| * 推广员唯一ID | ||
| */ | ||
| @SerializedName("promoter_id") | ||
| private String promoterId; | ||
binarywang marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| /** | ||
| * 推广员视频号昵称 | ||
| */ | ||
| @SerializedName("finder_nickname") | ||
| private String finderNickname; | ||
binarywang marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| /** | ||
| * 推广员openid | ||
| */ | ||
| @SerializedName("promoter_openid") | ||
| private String promoterOpenid; | ||
binarywang marked this conversation as resolved.
Uh oh!There was an error while loading. Please reload this page. | ||
| /** | ||
| * 分享员openid | ||
| */ | ||
| @SerializedName("sharer_openid") | ||
| private String sharerOpenid; | ||
| } | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| package cn.binarywang.wx.miniapp.bean.shop.response; | ||
| import cn.binarywang.wx.miniapp.bean.shop.WxMaShopOrderResult; | ||
| import com.google.gson.annotations.SerializedName; | ||
| import lombok.Data; | ||
| import lombok.EqualsAndHashCode; | ||
| import java.io.Serializable; | ||
| /** | ||
| * @author leiin | ||
| * @date 2021/3/23 | ||
| */ | ||
| @Data | ||
| @EqualsAndHashCode(callSuper = true) | ||
| public class WxMaShopGetOrderListResponse extends WxMaShopBaseResponse implements Serializable { | ||
| private static final long serialVersionUID = -81207907908726897L; | ||
| /** | ||
| * 订单满足条件的总数 | ||
| */ | ||
| @SerializedName("total_num") | ||
| private Integer totalNum; | ||
| /** | ||
| * 订单列表 | ||
| */ | ||
| @SerializedName("order") | ||
| private WxMaShopOrderResult order; | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,41 @@ | ||
| package cn.binarywang.wx.miniapp.bean.shop.response; | ||
| import com.google.gson.annotations.SerializedName; | ||
| import lombok.Data; | ||
| import lombok.EqualsAndHashCode; | ||
| import lombok.Getter; | ||
| import lombok.Setter; | ||
| import java.io.Serializable; | ||
| /** | ||
| * 生成支付参数响应 | ||
| * | ||
| * @author zhongjun | ||
| * @date 2022/5/17 | ||
| **/ | ||
| @Data | ||
| @EqualsAndHashCode(callSuper = true) | ||
| public class WxMaShopGetPaymentParamsResponse extends WxMaShopBaseResponse implements Serializable { | ||
| private static final long serialVersionUID = -8796836131438585559L; | ||
| @SerializedName("payment_params") | ||
| private PaymentParams paymentParams; | ||
| @Getter | ||
| @Setter | ||
| public static class PaymentParams { | ||
| private String timeStamp; | ||
| private String nonceStr; | ||
| @SerializedName("package") | ||
| private String packageValue; | ||
| private String signType; | ||
| private String paySign; | ||
| } | ||
| } |
Uh oh!
There was an error while loading. Please reload this page.