Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
order-group
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
order-group-application
order-group
Commits
4165833b
Commit
4165833b
authored
Jun 21, 2021
by
周晓航
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配送券展示
Signed-off-by: 周晓航 <xiaohang.zhou@freemud.com>
parent
d03b5b86
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
141 additions
and
0 deletions
+141
-0
order-application-service/src/main/java/cn/freemud/entities/dto/activity/CheckAndJoinResponse.java
+26
-0
order-application-service/src/main/java/cn/freemud/entities/dto/activity/CouponVo.java
+68
-0
order-application-service/src/main/java/cn/freemud/entities/dto/activity/SendCouponParamsVo.java
+25
-0
order-application-service/src/main/java/cn/freemud/entities/dto/activity/WechatCouponInfoVo.java
+22
-0
No files found.
order-application-service/src/main/java/cn/freemud/entities/dto/activity/CheckAndJoinResponse.java
View file @
4165833b
package
cn
.
freemud
.
entities
.
dto
.
activity
;
package
cn
.
freemud
.
entities
.
dto
.
activity
;
import
com.freemud.application.sdk.api.membercenter.response.Coupon
;
import
lombok.Builder
;
import
lombok.Builder
;
import
lombok.Data
;
import
lombok.Data
;
import
java.util.List
;
/**
/**
* @author : xh.Z
* @author : xh.Z
* @email : fisherman0510@163.com
* @email : fisherman0510@163.com
...
@@ -15,10 +18,12 @@ public class CheckAndJoinResponse {
...
@@ -15,10 +18,12 @@ public class CheckAndJoinResponse {
* 活动名称
* 活动名称
*/
*/
private
String
activityName
;
private
String
activityName
;
/**
/**
* id
* id
*/
*/
private
String
activityId
;
private
String
activityId
;
/**
/**
* 和 activityId 一致
* 和 activityId 一致
*/
*/
...
@@ -27,9 +32,30 @@ public class CheckAndJoinResponse {
...
@@ -27,9 +32,30 @@ public class CheckAndJoinResponse {
* 送券方式
* 送券方式
*/
*/
private
Integer
sendType
;
private
Integer
sendType
;
/**
* 活动类型:2:裂变分享,3:进店有礼,4:限时特价,5:兑换码,6:支付有礼,7:一键领券,8:注册有礼,9:邀请有礼,10:精准营销,11:瓜分红包,12:首次登入,16:福袋分享,24:评价有礼
*/
private
Integer
type
;
private
Integer
type
;
/**
* 滚动显示用户奖励 0-否 1-是
*/
private
String
showEncourage
;
private
String
showEncourage
;
/**
* 奖励类型 0:非码券 2:微信商家券
*/
private
Integer
rewardType
;
private
Integer
rewardType
;
/**
* 券列表
*/
private
List
<
CouponVo
>
coupons
;
/**
*
*/
private
WechatCouponInfoVo
wechatCouponInfo
;
}
}
order-application-service/src/main/java/cn/freemud/entities/dto/activity/CouponVo.java
0 → 100644
View file @
4165833b
package
cn
.
freemud
.
entities
.
dto
.
activity
;
import
lombok.Data
;
/**
* @author : xh.Z
* @email : fisherman0510@163.com
* @Date : 2021/6/21 下午4:59
* @description :
*/
@Data
public
class
CouponVo
{
/**
* 券活动编号
*/
private
String
activityCode
;
/**
* 折扣券的折扣率 例如8.8折
*/
private
String
benefitRebate
;
/**
* 券名称
*/
private
String
couponName
;
/**
* 优惠券类型 0-商品券 1-代金券 2-折扣券
*/
private
Integer
couponType
;
/**
* 抵扣金额
*/
private
Long
discountAmount
;
/**
* 有效期 2019.01.12-2019.02.12
*/
private
String
effectiveData
;
/**
* 过期时间
*/
private
String
expiryTime
;
/**
*
*/
private
String
logo
;
/**
* 起用金额
*/
private
Long
minAmount
;
/**
* validityPeriodEnd
*/
private
String
validityPeriodEnd
;
/**
* validityPeriodStart
*/
private
String
validityPeriodStart
;
}
order-application-service/src/main/java/cn/freemud/entities/dto/activity/SendCouponParamsVo.java
0 → 100644
View file @
4165833b
package
cn
.
freemud
.
entities
.
dto
.
activity
;
import
lombok.Data
;
/**
* @author : xh.Z
* @email : fisherman0510@163.com
* @Date : 2021/6/21 下午5:04
* @description :
*/
@Data
public
class
SendCouponParamsVo
{
/**
* 券code,如果批次是发放时指定code的类型,则发券时必填
*/
private
String
coupon_code
;
/**
* 发券凭证
*/
private
String
out_request_no
;
/**
* 批次号
*/
private
String
stock_id
;
}
order-application-service/src/main/java/cn/freemud/entities/dto/activity/WechatCouponInfoVo.java
0 → 100644
View file @
4165833b
package
cn
.
freemud
.
entities
.
dto
.
activity
;
import
lombok.Data
;
import
java.util.List
;
/**
* @author : xh.Z
* @email : fisherman0510@163.com
* @Date : 2021/6/21 下午5:02
* @description :
*/
@Data
public
class
WechatCouponInfoVo
{
/**
* 发券商户号
*/
private
String
send_coupon_merchant
;
private
List
<
SendCouponParamsVo
>
send_coupon_params
;
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment