package com.lxw.test3d.controller;
|
|
import com.lxw.test3d.Service.BattGroupDataService;
|
import com.lxw.test3d.Service.NjHomeConfigService;
|
import com.lxw.test3d.dto.Response;
|
import io.swagger.annotations.Api;
|
import io.swagger.annotations.ApiOperation;
|
import org.apache.ibatis.annotations.Param;
|
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RestController;
|
|
@Api(tags = "南京测控")
|
@RestController
|
@RequestMapping("njConfig")
|
public class NjHomeConfigController {
|
@Autowired
|
private NjHomeConfigService service;
|
|
@ApiOperation("插入")
|
@GetMapping("addToSql")
|
public void addToSql(@RequestParam String filePath){
|
service.addToSql(filePath);
|
}
|
}
|