mall:完善 cloud 的 api 调用

This commit is contained in:
YunaiV
2023-10-24 12:24:02 +08:00
parent 110b3476a8
commit b133cfa2a8
38 changed files with 239 additions and 136 deletions

View File

@@ -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")

View File

@@ -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 = "获得会员等级")