package com.kxs.system.api.feign;

import com.kxs.common.core.util.R;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.service.annotation.GetExchange;
import org.springframework.web.service.annotation.PostExchange;

import java.util.Map;


/**
 * 远程老平台接口
 *
 * @author 没秃顶的码农
 * @date 2024-03-14
 */
public interface RemoteOldService {

	/**
	 * 循环过期机具添加预扣款
	 * @param param 请求实体
	 */
	@PostExchange("/v1/kxsmain/tochargebackrecord/addtochargebackrecord")
	R savePosAdvance(@RequestParam Map<String, Object> param);

	/**
	 * 团队开机统计-开机统计查询
	 * @param param 请求实体
	 */
	@GetExchange("/v1/kxsmain/users/getteamopenposinfo")
	R teamOpenTotalData(@RequestParam("value") String param);

}
