初始提交,实现WebSocket聊天室基本功能
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
|
||||
package cn.airnan.dg.controller;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
/**
|
||||
* Web首页
|
||||
*/
|
||||
@Controller
|
||||
public class indexController {
|
||||
|
||||
@RequestMapping("/")
|
||||
public String index() {
|
||||
return "index.html";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user