maqingyang 1 rok pred
rodič
commit
56659f0342

+ 2 - 2
src/main/java/com/kexun/controller/ModelController.java

@@ -450,8 +450,8 @@ public class ModelController {
     public Result getUserModel(SysUser sysUser)
     {
         JSONObject resJson=new JSONObject();
-        List<UserModel> model_list=userModelService.findByUserName(sysUser.getUserName());
-//        System.out.println(model_list.get(0).getId());
+        List<UserModel> model_list=userModelService.findByUserName("1");
+        System.out.println(sysUser.getUserName());
         resJson.put("modelData", model_list);
 
         return Result.success("ok",resJson);