update 电单车协议

This commit is contained in:
Guoqs
2024-09-05 17:12:26 +08:00
parent eea76805f6
commit b55960044c
2 changed files with 2 additions and 6 deletions

View File

@@ -54,12 +54,11 @@ public class JumpController extends BaseController {
/**
* 查询充电桩详情
* http://localhost:8080/app-xcx-h5/pile/pileDetail/{pileSn}
*/
@GetMapping("/pile/pileDetail/{pileSn}")
public RestApiResponse<?> getPileDetail(HttpServletRequest request, @PathVariable("pileSn") String pileSn) {
// logger.info("app-xcx-h5查询充电桩详情 param:{}", pileSn);
logger.info("User-Agent:{}", request.getHeader("user-agent"));
logger.debug("User-Agent:{}", request.getHeader("user-agent"));
RestApiResponse<?> response = null;
try {
// 如果对接了类似华为平台的第三方平台,先修改一下枪口状态