shichongfu
2023-05-31 6f9405da1b729783c9c0811b5b475d03793c1da2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
package com.product.mobile.core.controller;
 
import javax.servlet.http.HttpServletRequest;
 
import com.product.util.BaseUtil;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
 
import com.product.core.controller.support.AbstractBaseController;
import com.product.core.spring.context.SpringMVCContextHolder;
import com.product.module.sys.version.ApiVersion;
 
/**
 * APP连接测试
 *
 * @author shicf
 */
@RequestMapping("/api/mobile")
@RestController
public class MobileNetWorkTestController extends AbstractBaseController {
    /**
     * 中标项目任务保存
     *
     * @param request
     * @return
     */
    @RequestMapping(value = "/network/check/{version}", method = RequestMethod.POST)
    @ApiVersion(1)
    public String netWorkTest(HttpServletRequest request) {
        SpringMVCContextHolder.getSystemLogger().error("手机连接测试成功.................");
        return this.OK();
    }
}