netty-netty与api进行合并,这样可以方便我们进行之后的人脸切换到二维码的操作
This commit is contained in:
@@ -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();
|
|
||||||
// }
|
|
||||||
|
|
||||||
}
|
|
||||||
@@ -8,7 +8,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
import org.springframework.web.bind.annotation.RequestParam;
|
import org.springframework.web.bind.annotation.RequestParam;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
import org.springframework.web.bind.annotation.RestController;
|
||||||
|
|
||||||
@RestController
|
@RestController("/netty")
|
||||||
public class QRCodeControler {
|
public class QRCodeControler {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -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();
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -9,8 +9,8 @@ spring:
|
|||||||
timeout: 6000
|
timeout: 6000
|
||||||
port: 6379
|
port: 6379
|
||||||
|
|
||||||
jpa:
|
# jpa:
|
||||||
show-sql: true
|
# show-sql: true
|
||||||
|
|
||||||
|
|
||||||
oss:
|
oss:
|
||||||
|
|||||||
Reference in New Issue
Block a user