mall:完善 cloud 的 api 调用
This commit is contained in:
@@ -26,12 +26,6 @@ public interface MemberAddressApi {
|
||||
CommonResult<MemberAddressRespDTO> getAddress(@RequestParam("id") Long id,
|
||||
@RequestParam("userId") Long userId);
|
||||
|
||||
/**
|
||||
* 获得用户默认收件地址
|
||||
*
|
||||
* @param userId 用户编号
|
||||
* @return 用户收件地址
|
||||
*/
|
||||
@GetMapping(PREFIX + "/get-default")
|
||||
@Operation(summary = "获得用户默认收件地址")
|
||||
@Parameter(name = "userId", description = "用户编号", required = true, example = "2048")
|
||||
|
||||
@@ -16,7 +16,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
@Tag(name = "RPC 服务 - 会员等级")
|
||||
public interface MemberLevelApi {
|
||||
|
||||
String PREFIX = ApiConstants.PREFIX + "/address";
|
||||
String PREFIX = ApiConstants.PREFIX + "/level";
|
||||
|
||||
@GetMapping(PREFIX + "/get")
|
||||
@Operation(summary = "获得会员等级")
|
||||
|
||||
Reference in New Issue
Block a user