自动化立体仓库 - WCS系统
zc
5 天以前 58eaf5e73359f7164525d9c50f6e5bf82b247e32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.zy.asrs.controller;
 
import com.core.common.R;
import com.zy.core.News;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * Created by vincent on 2022/12/28
 */
@Slf4j
@RestController
@RequestMapping("/news")
public class NewsController {
 
    @RequestMapping("/print")
    public synchronized R print(){
        return R.ok().add(News.print());
    }
 
}