package com.red.circle.wallet.inner.endpoint.diamond.api;

import com.red.circle.common.business.core.enums.SysOriginPlatformEnum;
import com.red.circle.framework.dto.ResultResponse;
import java.math.BigDecimal;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 用户钻石余额表(20230718) 服务类.
 *
 * @author pengliang on 2023/12/26
 */
public interface DiamondBalanceClientApi {

  String API_PREFIX = "/diamond/balance/client";


  /**
   * 获取我的可用余额.
   *
   * @param userId 用户id
   * @return 余额
   */
  @GetMapping("/getAvailableBalance")
  ResultResponse<BigDecimal> getAvailableBalance(@RequestParam("userId") Long userId);



}
