TimeCloseController.java 761 Bytes
package com.viontech.controller;

import com.viontech.service.adapter.ITimeCloseService;
import com.viontech.vo.TimeCloseVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TimeCloseController extends BaseController {

    @Autowired
    ITimeCloseService iTimeCloseService;

    @PostMapping("/closetime")
    @ResponseBody
    public Object addTime(@RequestBody  TimeCloseVo timeCloseVo){
        return iTimeCloseService.add(timeCloseVo);
    }
}