提交 e832a51f 编写于 作者: IBZGIT01's avatar IBZGIT01

ibizdev提交

上级 0875c6f1
...@@ -9,7 +9,7 @@ public interface DBETService{ ...@@ -9,7 +9,7 @@ public interface DBETService{
boolean checkKey(DBET et); boolean checkKey(DBET et);
boolean update(DBET et); boolean update(DBET et);
DBET get(DBET et); DBET get(DBET et);
boolean create(DBET et); boolean create(DBET et);
boolean remove(DBET et); boolean remove(DBET et);
boolean save(DBET et); boolean save(DBET et);
......
...@@ -26,7 +26,7 @@ public class ApplicationTest { ...@@ -26,7 +26,7 @@ public class ApplicationTest {
@Test @Test
public void testMain() { public void testMain() {
try { try {
MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.post("/demo/springmvc/dbet")).andReturn(); MvcResult mvcResult = mockMvc.perform(MockMvcRequestBuilders.post("/demo/springmvc/dbet/maineditform/get")).andReturn();
System.out.println(String.format("返回状态码为:[%s],返回内容为[%s]",mvcResult.getResponse().getStatus(),mvcResult.getResponse().getContentAsString())); System.out.println(String.format("返回状态码为:[%s],返回内容为[%s]",mvcResult.getResponse().getStatus(),mvcResult.getResponse().getContentAsString()));
} catch (Exception e) { } catch (Exception e) {
e.printStackTrace(); e.printStackTrace();
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册