netty-netty与api进行合并,这样可以方便我们进行之后的人脸切换到二维码的操作

This commit is contained in:
limqhz
2020-07-14 01:09:45 +08:00
parent 7f2e9ffdb3
commit 8e0001abea
4 changed files with 17 additions and 29 deletions

View File

@@ -1,26 +0,0 @@
package com.sv.netty.controller;
import com.sv.netty.dto.ResponseDTO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
public class MessageControler {
@RequestMapping("/message/send/t")
public ResponseDTO sendMessage1() {
// FaceRecognizeResponse recognizeResponse = new FaceRecognizeResponse();
// recognizeResponse.setPerson(new FaceRecognizeResponse.PersonBeanX());
// recognizeResponse.getPerson().setId(49);
// messageService.enter(deviceService.findById(1), recognizeResponse, venueService.findById(32));
return ResponseDTO.ok();
}
//
// @RequestMapping("/upload/image")
// public ResponseDTO sendMessage(){
// messageService.sendMessage(memberDto);
// return ResponseDTO.ok();
// }
}

View File

@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RestController("/netty")
public class QRCodeControler {
/**

View File

@@ -0,0 +1,14 @@
package com.sv.netty.controller;
import com.sv.netty.dto.ResponseDTO;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController("/netty")
public class VenueLessonController {
@RequestMapping("/getLessonOrder")
public ResponseDTO sendMessage1() {
return ResponseDTO.ok();
}
}

View File

@@ -9,8 +9,8 @@ spring:
timeout: 6000
port: 6379
jpa:
show-sql: true
# jpa:
# show-sql: true
oss: