소스 검색

Merge branch 'develop' into release

tags/v1.9.0
wanghaoran 1 년 전
부모
커밋
c106ae3837
2개의 변경된 파일7개의 추가작업 그리고 0개의 파일을 삭제
  1. +5
    -0
      tuoheng-api/src/main/java/com/tuoheng/api/entity/request/WxSubUserPointsRequest.java
  2. +2
    -0
      tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WxServiceImpl.java

+ 5
- 0
tuoheng-api/src/main/java/com/tuoheng/api/entity/request/WxSubUserPointsRequest.java 파일 보기

@@ -21,4 +21,9 @@ public class WxSubUserPointsRequest {
@NotNull(message = "points can not be null")
private Integer points;

/**
* 商铺名称
*/
private String shopName;

}

+ 2
- 0
tuoheng-api/src/main/java/com/tuoheng/api/service/impl/WxServiceImpl.java 파일 보기

@@ -121,6 +121,7 @@ public class WxServiceImpl implements IWxService {
userPointsDetail.setOpenid(westreamUser.getOpenid());
userPointsDetail.setNickname(westreamUser.getNickname());
userPointsDetail.setPointsChange(wxSubUserPointsRequest.getPoints());
userPointsDetail.setOperatorName(wxSubUserPointsRequest.getShopName());
userPointsDetail.setChangeName("积分兑换");
userPointsDetail.setPointsTime(new Date());
userPointsDetail.setType(2);
@@ -162,6 +163,7 @@ public class WxServiceImpl implements IWxService {
userPointsDetail.setOpenid(westreamUser.getOpenid());
userPointsDetail.setNickname(westreamUser.getNickname());
userPointsDetail.setPointsChange(wxSubUserPointsRequest.getPoints());
userPointsDetail.setOperatorName(wxSubUserPointsRequest.getShopName());
userPointsDetail.setChangeName("积分返还");
userPointsDetail.setPointsTime(new Date());
userPointsDetail.setType(1);

Loading…
취소
저장