| | |
| | | |
| | | import com.ruoyi.account.api.factory.UserPointFallbackFactory; |
| | | import com.ruoyi.account.api.model.UserPoint; |
| | | import com.ruoyi.account.api.model.UserPointCopy; |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | @PostMapping("/user-point/saveUserPoint") |
| | | R saveUserPoint(@RequestBody UserPoint userPoint); |
| | | |
| | | @PostMapping("/user-point/saveUserPointCopy") |
| | | R saveUserPointCopy(@RequestBody UserPointCopy userPoint); |
| | | |
| | | @DeleteMapping("/user-point/deleteUserPointCopy") |
| | | R deleteUserPointCopy(@RequestParam("orderId") Long orderId, @RequestParam("type") List<Integer> type); |
| | | |
| | | @DeleteMapping("/user-point/deleteUserPointCopyByIds") |
| | | R deleteUserPointCopyByIds(@RequestParam("ids") List<Long> ids); |
| | | |
| | | @PostMapping("/user-point/getUserPointCopy") |
| | | R<List<UserPointCopy>> getUserPointCopy(@RequestParam("orderId") Long orderId, @RequestParam("type") List<Integer> type); |
| | | |
| | | |
| | | /** |
| | | * 获取积分变动明细 |