|  |  |  | 
|---|
|  |  |  | 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.GetMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.PathVariable; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.PostMapping; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.RequestParam; | 
|---|
|  |  |  | import org.springframework.web.bind.annotation.*; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | * @param id | 
|---|
|  |  |  | * @return | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PostMapping("/appUser/getAppUserById") | 
|---|
|  |  |  | @PostMapping("/app-user/getAppUserById") | 
|---|
|  |  |  | AppUser getAppUserById(@RequestParam("id") Long id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 根据id编辑用户 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | @PostMapping("/app-user/editAppUserById") | 
|---|
|  |  |  | R<Void> editAppUserById(@RequestParam("appUser") AppUser appUser); | 
|---|
|  |  |  | R<Void> editAppUserById(@RequestBody AppUser appUser); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @PostMapping("/app-user/getCouponCount") | 
|---|
|  |  |  | R<Long> getCouponCount(@RequestParam("userId")Long userId, @RequestParam("couponId") Integer couponId ); | 
|---|