下架改为同步执行方法
parent
964b89cb49
commit
a4bf1815bc
|
@ -49,7 +49,8 @@ import io.swagger.annotations.ApiParam;
|
|||
*/
|
||||
@Controller
|
||||
@RequestMapping("/wmom")
|
||||
public class wmomController {
|
||||
public class
|
||||
wmomController {
|
||||
private static final Logger logger = Logger.getLogger(wmomController.class);
|
||||
// @Autowired
|
||||
// private UserService userService;
|
||||
|
|
|
@ -385,7 +385,7 @@ public class WmOmQmIController extends BaseController {
|
|||
|
||||
@RequestMapping(params = "dotowavedown")
|
||||
@ResponseBody
|
||||
public AjaxJson dotowavedown(HttpServletRequest request) {
|
||||
public synchronized AjaxJson dotowavedown(HttpServletRequest request) {
|
||||
String message = null;
|
||||
AjaxJson j = new AjaxJson();
|
||||
message = "下架成功";
|
||||
|
@ -444,7 +444,7 @@ public class WmOmQmIController extends BaseController {
|
|||
|
||||
@RequestMapping(params = "dotodown")
|
||||
@ResponseBody
|
||||
public AjaxJson dotodown(HttpServletRequest request) {
|
||||
public synchronized AjaxJson dotodown(HttpServletRequest request) {
|
||||
String message = null;
|
||||
AjaxJson j = new AjaxJson();
|
||||
message = "下架成功";
|
||||
|
|
Loading…
Reference in New Issue