12345678910111213141516171819202122232425262728293031323334 |
- package com.rongwei.bsserver.controller;
- import com.rongwei.bscommon.sys.service.LuckysheetService;
- import com.rongwei.bsentity.dto.luckysheet.SaveSheetRequest;
- import com.rongwei.rwcommon.base.R;
- import io.swagger.annotations.Api;
- import lombok.extern.slf4j.Slf4j;
- 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.RequestMapping;
- import org.springframework.web.bind.annotation.RestController;
- import java.util.Map;
- /**
- * @author wm
- */
- @RestController
- @RequestMapping("/office")
- @Slf4j
- @Api(tags = "办公接口",description = "办公接口")
- public class OfficeController {
- @Autowired
- private LuckysheetService luckysheetService;
- @PostMapping("/saveSheet")
- public R saveSheet(@RequestBody SaveSheetRequest req){
- luckysheetService.saveSheet(req);
- return R.ok();
- }
- }
|