更新项目结构目录
This commit is contained in:
parent
7945862f64
commit
712e1dc737
|
|
@ -1,4 +0,0 @@
|
|||
package com.weaver.seconddev.demo.controller;
|
||||
|
||||
public class Test2 {
|
||||
}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
package com.weaver.seconddev.demo.controller;
|
||||
|
||||
public class asdas {
|
||||
}
|
||||
|
|
@ -1,5 +1,4 @@
|
|||
package com.weaver.seconddev.demo.controller;
|
||||
|
||||
package com.weaver.seconddev.jcl.organization.controller;
|
||||
|
||||
import com.weaver.common.authority.annotation.WeaPermission;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
|
@ -7,14 +6,12 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
|
||||
@RestController
|
||||
@RequestMapping("/api/secondev/liuliang")
|
||||
@RequestMapping("/api/secondev/demo")
|
||||
@WeaPermission(publicPermission = true)
|
||||
public class HellowWorld {
|
||||
public class HelloController {
|
||||
@GetMapping("/hello")
|
||||
public String hello(@RequestParam("msg") String msg) {
|
||||
return "Hello, " + msg;
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue