fengxiang
2018-05-11 fd13d232df7292d93172d1200235a77f286f64ed
src/main/java/com/moral/controller/MobileController.java
@@ -74,7 +74,14 @@
      OperateUser operateUser = operateUserService.updatePassword(uid,password,newpassword);
      return new AppData<OperateUser>(operateUser); 
   }
   /**
    * 根据 设备id 来获取设备信息
    */
   @RequestMapping("deviceInfo")
   public AppData<Device> deviceInfo(Integer id){
      Device device = deviceService.queryById(id);
      return  new AppData<Device>(device);
   }
   /**
    *
    * @param equDeviceAdapter
@@ -82,7 +89,7 @@
    */
   @RequestMapping("reportDevice")
   public AppData<String> installDevice(EquDeviceAdapter equDeviceAdapter) {
      deviceService.saveOrUpdateDevice(equDeviceAdapter.toDevice());
      deviceService.addOrModify(equDeviceAdapter.toDevice());
      return new AppData<String>("");
   }