DataController.java 511 Bytes
package com.viontech.controller;

import com.viontech.process.Process;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * .
 *
 * @author 谢明辉
 * @date 2020/8/18
 */
@RestController
public class DataController {

    @PostMapping("/data")
    public Object receiveData(@RequestBody String dataStr) {
        Process.process(dataStr);

        return null;
    }


}