|  |  |  | 
|---|
|  |  |  | package com.ruoyi.account.api.feignClient; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.ruoyi.account.api.dto.GiveVipDto; | 
|---|
|  |  |  | import com.ruoyi.account.api.model.TAppCoupon; | 
|---|
|  |  |  | import com.ruoyi.account.api.model.TAppUser; | 
|---|
|  |  |  | import com.ruoyi.account.api.model.TAppUserAddress; | 
|---|
|  |  |  | 
|---|
|  |  |  | @PostMapping("/t-app-user/user/updateAppUser") | 
|---|
|  |  |  | R updateAppUser(@RequestBody TAppUser appUser); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/t-app-user/user/points/change") | 
|---|
|  |  |  | R change(@RequestBody PointChangeDto points); | 
|---|
|  |  |  | //    @PostMapping("/t-app-user/user/points/change") | 
|---|
|  |  |  | //    R change(@RequestBody PointChangeDto points); | 
|---|
|  |  |  | @PostMapping("/t-app-user/user/points/change/down") | 
|---|
|  |  |  | R changeDown(@RequestBody PointChangeDto points); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 通过手机号查询用户 | 
|---|
|  |  |  | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @GetMapping("/t-app-user/user/selectByPhone") | 
|---|
|  |  |  | R<TAppUser> selectByPhone(@RequestParam("phone") String phone); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 通过手机号模糊查询用户 | 
|---|
|  |  |  | * @param phone | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @GetMapping("/t-app-user/user/selectByPhoneLike") | 
|---|
|  |  |  | R<List<TAppUser>> selectByPhoneLike(@RequestParam("phone") String phone); | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 远程调用 积分兑换订单 退款回退积分 | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PostMapping(value = "/t-app-user/refundPoints/{param}") | 
|---|
|  |  |  | public R refundPoints(@PathVariable("param")String param); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping(value = "/t-app-user/user/give/vip") | 
|---|
|  |  |  | public R giveVip(@RequestBody GiveVipDto giveVipDto); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 获取微信token | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PostMapping("/wxLogin/getWXToken") | 
|---|
|  |  |  | R<String> getWXToken(); | 
|---|
|  |  |  | } | 
|---|