新增 联联平台 推送站点费率接口

This commit is contained in:
Lemon
2024-03-05 15:09:43 +08:00
parent e47749d15b
commit 271b880daa
4 changed files with 114 additions and 16 deletions

View File

@@ -9,6 +9,7 @@ import com.jsowell.common.response.RestApiResponse;
import com.jsowell.common.util.JWTUtils;
import com.jsowell.common.util.StringUtils;
import com.jsowell.pile.dto.*;
import com.jsowell.pile.vo.lianlian.PushStationFeeVO;
import com.jsowell.thirdparty.lianlian.common.CommonResult;
import com.jsowell.thirdparty.lianlian.dto.CommonParamsDTO;
import com.jsowell.thirdparty.lianlian.service.LianLianService;
@@ -20,6 +21,7 @@ import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
import java.io.UnsupportedEncodingException;
import java.nio.charset.StandardCharsets;
import java.text.ParseException;
import java.util.Map;
/**
@@ -667,4 +669,18 @@ public class LianLianController extends BaseController {
}
return CommonResult.failed("查询统计信息发生异常");
}
@GetMapping("/pushStationFee/{stationId}")
public RestApiResponse<?> pushStationFee(@PathVariable("stationId") String stationId) {
RestApiResponse<?> response = null;
try {
String result = lianLianService.pushStationFee(stationId);
response = new RestApiResponse<>(result);
} catch (Exception e) {
e.printStackTrace();
}
return response;
}
}