沈斌
2018-05-07 eb0bf159dad42be8878cbf6d819df87fbd50eff2
运维app
1 files modified
2 ■■■ changed files
src/main/java/com/moral/controller/MobileController.java 2 ●●● patch | view | raw | blame | history
src/main/java/com/moral/controller/MobileController.java
@@ -108,7 +108,7 @@
     * @param mac the mac
     * @return the device by mac
     */
    @PostMapping("getEquInfoByMac")
    @GetMapping("getEquInfoByMac")
    public AppData<Device> getDeviceByMac(@RequestParam(value="mac", required=true)String mac) {
        Device device = deviceService.getDeviceByMac(mac);
        return new AppData<Device>(device);