自动化立体仓库 - WCS系统
#
luxiaotao1123
2020-08-05 3e3959bf84c673b3cb366e6225a6b5c8dfbea903
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.core.channel;
 
import com.zy.core.cache.MessageQueue;
import com.zy.core.model.Task;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
/**
 * Created by vincent on 2020/8/5
 */
@RestController
public class TestController {
 
    @RequestMapping("/test")
    public String test(){
        Task task = new Task();
        task.setId(1);
        MessageQueue.CRN_QUE.offer(task);
        return "ok";
    }
 
}