| | |
| | | package com.hz.his.feign.service; |
| | | |
| | | import com.hx.resultTool.Result; |
| | | import com.hz.phis.dt.user.UserAppointmentDt; |
| | | import com.hz.phis.dt.user.UserDt; |
| | | import com.hz.phis.dt.user.UserLevelDt; |
| | | import com.hz.phis.dt.user.card.UserCardDt; |
| | | import com.hz.phis.dt.user.card.UserCardUsedDt; |
| | | import com.hz.phis.dt.user.coupon.UserCanUseCouponDt; |
| | | import com.hz.phis.dt.user.coupon.UserCouponDt; |
| | | import com.hz.phis.dt.user.money.*; |
| | | import com.hz.phis.dt.user.label.UserLabelDt; |
| | | import com.hz.phis.dt.user.project.UserProjectDt; |
| | | import com.hz.phis.dt.user.project.UserProjectUsedDt; |
| | | import com.hz.his.dto.user.UserAppointmentDto; |
| | | import com.hz.his.dto.user.UserDto; |
| | | import com.hz.his.dto.user.UserLevelDto; |
| | | import com.hz.his.dto.user.card.UserCardDto; |
| | | import com.hz.his.dto.user.card.UserCardUsedDto; |
| | | import com.hz.his.dto.user.coupon.UserCanUseCouponDto; |
| | | import com.hz.his.dto.user.coupon.UserCouponDto; |
| | | import com.hz.his.dto.user.money.*; |
| | | import com.hz.his.dto.user.label.UserLabelDto; |
| | | import com.hz.his.dto.user.project.UserProjectDto; |
| | | import com.hz.his.dto.user.project.UserProjectUsedDto; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | * 获取用户项目 |
| | | */ |
| | | @PostMapping(value = "/user/project/list") |
| | | Result userProject(@RequestBody UserProjectDt userProjectDt); |
| | | Result userProject(@RequestBody UserProjectDto userProjectDto); |
| | | |
| | | /** |
| | | * 获取用户子项目 |
| | | */ |
| | | @PostMapping(value = "/user/project/item/list") |
| | | Result userProjectItem(@RequestBody UserProjectDt userProjectDt); |
| | | Result userProjectItem(@RequestBody UserProjectDto userProjectDto); |
| | | |
| | | /** |
| | | * 获取用户子项目使用记录 |
| | | */ |
| | | @PostMapping(value = "/user/project/used") |
| | | Result userProjectUsed(@RequestBody UserProjectUsedDt userProjectUsedDt); |
| | | Result userProjectUsed(@RequestBody UserProjectUsedDto userProjectUsedDto); |
| | | |
| | | |
| | | /** |
| | | * 获取用户卡包 |
| | | */ |
| | | @PostMapping(value = "/user/card") |
| | | Result userCard(@RequestBody UserCardDt userCardDt); |
| | | Result userCard(@RequestBody UserCardDto userCardDto); |
| | | |
| | | /** |
| | | * 获取用户卡包使用记录 |
| | | */ |
| | | @PostMapping(value = "/user/card/used") |
| | | Result userCardUsed(@RequestBody UserCardUsedDt userCardUsedDt); |
| | | Result userCardUsed(@RequestBody UserCardUsedDto userCardUsedDto); |
| | | |
| | | |
| | | /** |
| | |
| | | * 获取用户优惠券 |
| | | * */ |
| | | @PostMapping(value = "/user/coupon") |
| | | Result userCoupon(@RequestBody UserCouponDt userCouponDt); |
| | | Result userCoupon(@RequestBody UserCouponDto userCouponDto); |
| | | |
| | | /** |
| | | * 获取用户优惠券使用记录 |
| | | * */ |
| | | @PostMapping(value = "/user/coupon/used") |
| | | Result userCouponUsed(@RequestParam UserCouponDt userCouponDt); |
| | | Result userCouponUsed(@RequestParam UserCouponDto userCouponDto); |
| | | |
| | | |
| | | /** |
| | | * 获取用户增值金列表 |
| | | * */ |
| | | @PostMapping(value = "/user/increment/list") |
| | | Result userIncrementList(@RequestBody UserIncrementDt userIncrementDt); |
| | | Result userIncrementList(@RequestBody UserIncrementDto userIncrementDto); |
| | | |
| | | /** |
| | | * 获取用户增值金使用记录 |
| | | * */ |
| | | @PostMapping(value = "/user/increment/used") |
| | | Result userIncrementUsed(@RequestBody UserIncrementDt userIncrementDt); |
| | | Result userIncrementUsed(@RequestBody UserIncrementDto userIncrementDto); |
| | | |
| | | /** |
| | | * 获取用户储值金列表 |
| | | * */ |
| | | @PostMapping(value = "/user/recharge/list") |
| | | Result userRechargeList(@RequestBody UserRechargeDt userRechargeDt); |
| | | Result userRechargeList(@RequestBody UserRechargeDto userRechargeDto); |
| | | |
| | | /** |
| | | * 获取用户资金使用记录 |
| | | * */ |
| | | @PostMapping(value = "/user/money/used") |
| | | Result userConsumeDt(@RequestBody UserConsumeDt userConsumeDt); |
| | | Result userConsumeDt(@RequestBody UserConsumeDto userConsumeDto); |
| | | |
| | | /** |
| | | * 获取用户积分列表 |
| | | * */ |
| | | @PostMapping(value = "/user/integral/list") |
| | | Result userIntegralList(@RequestBody UserIntegralDt userIntegralDt); |
| | | Result userIntegralList(@RequestBody UserIntegralDto userIntegralDto); |
| | | |
| | | /** |
| | | * 获取用户积分使用记录 |
| | | * */ |
| | | @PostMapping(value = "/user/integral/used") |
| | | Result userIntegralUsed(@RequestBody UserIntegralDt userIntegralDt); |
| | | Result userIntegralUsed(@RequestBody UserIntegralDto userIntegralDto); |
| | | |
| | | /** |
| | | * 根据电话号码查询用户信息 |
| | |
| | | * @param |
| | | * */ |
| | | @PostMapping(value = "/user/can/use/coupon") |
| | | Result userCanUseCoupon(@RequestBody UserCanUseCouponDt userCanUseCouponDt); |
| | | Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); |
| | | |
| | | /** |
| | | * 根据电话号码或者CIQ获取指定用户 |
| | | * */ |
| | | @PostMapping(value = "/user/info/telOrCiq") |
| | | Result findUserByTelOrCiq(@RequestBody UserDt userDt); |
| | | Result findUserByTelOrCiq(@RequestBody UserDto userDto); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param |
| | | * */ |
| | | @PostMapping(value = "/user/label") |
| | | Result userLabel(@RequestBody UserLabelDt userLabelDt); |
| | | Result userLabel(@RequestBody UserLabelDto userLabelDto); |
| | | |
| | | |
| | | /** |
| | |
| | | * @param |
| | | * */ |
| | | @PostMapping(value = "/user/consume/count") |
| | | Result userConsumeCount(@RequestBody UserConsumeDt userConsumeDt); |
| | | Result userConsumeCount(@RequestBody UserConsumeDto userConsumeDto); |
| | | |
| | | |
| | | /** |
| | | * 获取用户预约数据 |
| | | * */ |
| | | @PostMapping(value = "/user/appointment/list") |
| | | Result userAppointment(@RequestBody UserAppointmentDt userAppointmentDt); |
| | | Result userAppointment(@RequestBody UserAppointmentDto userAppointmentDto); |
| | | |
| | | /** |
| | | * 获取用户划扣记录 |
| | | * */ |
| | | @PostMapping(value = "/user/project/deduction/list") |
| | | Result userProjectDeduction(@RequestBody UserProjectDt userProjectDt); |
| | | Result userProjectDeduction(@RequestBody UserProjectDto userProjectDto); |
| | | |
| | | /** |
| | | * 获取会员等级变化记录 |
| | | * */ |
| | | @PostMapping(value = "/user/level/record/list") |
| | | Result userLevelRecord(@RequestBody UserLevelDt userLevelDt); |
| | | Result userLevelRecord(@RequestBody UserLevelDto userLevelDto); |
| | | |
| | | /** |
| | | * 获取用户待领取增值金列表 |
| | | * */ |
| | | @PostMapping(value = "/user/wait/increment/list") |
| | | Result userWaitIncList(@RequestBody UserWaitIncDt userWaitIncDt); |
| | | Result userWaitIncList(@RequestBody UserWaitIncDto userWaitIncDto); |
| | | |
| | | } |