Browse Source

返回值

tags/正式版本
王宁 2 years ago
parent
commit
d8fdb3671f

+ 2
- 2
sexam/src/main/java/com/xhkjedu/sexam/service/exam/EBaseService.java View File

78
 
78
 
79
             return new ResultVo(0, "保存成功", examid);
79
             return new ResultVo(0, "保存成功", examid);
80
         } catch (Exception e) {
80
         } catch (Exception e) {
81
-            log.error("发起考试失败", e.getMessage());
81
+            log.error("发起考试失败:"+e.getMessage());
82
             TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
82
             TransactionAspectSupport.currentTransactionStatus().setRollbackOnly();
83
-            return new ResultVo(1, e.getMessage());
83
+            return new ResultVo(1, "保存失败");
84
         }
84
         }
85
     }
85
     }
86
 
86
 

Loading…
Cancel
Save