34 lines
994 B
Java
Raw Normal View History

package com.cdzy.operations.controller;
2025-10-21 09:36:31 +08:00
import com.cdzy.common.model.response.JsonResult;
2025-10-21 09:51:07 +08:00
import com.cdzy.operations.model.vo.EbikeBikeBindVo;
2025-10-21 09:36:31 +08:00
import com.cdzy.operations.service.EbikeBikeInfoService;
import jakarta.annotation.Resource;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
2025-10-21 09:36:31 +08:00
* 车辆基本信息 控制层
*
* @author attiya
* @since 2025-10-17
*/
2025-10-21 09:36:31 +08:00
@Validated
@RestController
@RequestMapping("/ebikeBikeInfo")
public class EbikeBikeInfoController {
2025-10-21 09:36:31 +08:00
@Resource
private EbikeBikeInfoService ebikeBikeInfoService;
2025-10-21 09:36:31 +08:00
@PostMapping("bind")
2025-10-21 09:51:07 +08:00
public JsonResult<?> bind(@Validated @RequestBody EbikeBikeBindVo bindVo) {
ebikeBikeInfoService.bind(bindVo);
2025-10-21 09:36:31 +08:00
return JsonResult.success();
}
}