feat(mall): 代码优化
parent
12bf4a0109
commit
e24976dada
@ -1,18 +0,0 @@
|
||||
package com.wayn.mobile.api.controller;
|
||||
|
||||
|
||||
import com.wayn.common.base.controller.BaseController;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* 订单商品表 前端控制器
|
||||
*
|
||||
* @author wayn
|
||||
* @since 2020-08-11
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("orderGoods")
|
||||
public class OrderGoodsController extends BaseController {
|
||||
|
||||
}
|
@ -1,16 +0,0 @@
|
||||
package com.wayn.mobile.api.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
@RequestMapping("test")
|
||||
public class TestController {
|
||||
|
||||
@GetMapping("shutdown")
|
||||
public String gracefullyShutdown() throws InterruptedException {
|
||||
Thread.sleep(15000);
|
||||
return "gracefully shutdown!";
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue