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

import com.red.circle.framework.dto.ResultResponse;
import com.red.circle.wallet.inner.model.tmp.DiamondExchangeGoldRestApiCmd;
import java.math.BigDecimal;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 钻石服务(兼容服务替换).
 *
 * @author pengliang on 2023/12/26
 */
public interface DiamondClientRestApi {

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

  /**
   * 钻石兑换金币.
   */
  @PostMapping("/diamondExchangeGold")
  ResultResponse<BigDecimal> diamondExchangeGold(
      @RequestBody @Validated DiamondExchangeGoldRestApiCmd cmd);


}
