Commit 6a487d37 by 唐功亮

测试接口

parent e6292b83
...@@ -67,6 +67,11 @@ public class TycpdmFirmController extends AbstractController { ...@@ -67,6 +67,11 @@ public class TycpdmFirmController extends AbstractController {
}*/ }*/
@RequestMapping("/api/test")
@Login
public void testRed(HttpServletResponse response) throws Exception{
response.sendRedirect("http://v3.gds.org.cn/registerOrLoginFromAncc.aspx?uname=test_tru&pwd=88DA15B9F9F602F0D32D46808652B06DC6E939D1424CE39F69A2AC39743F7ED7591975685B543E1D&regist_or_login_from_ancc=d67626ce2c09cbb4c6867eb65c945b53&dept=-2");
}
/** /**
* 列表 * 列表
*/ */
...@@ -107,6 +112,8 @@ public class TycpdmFirmController extends AbstractController { ...@@ -107,6 +112,8 @@ public class TycpdmFirmController extends AbstractController {
return R.ok().put("data",id); return R.ok().put("data",id);
} }
public static void main(String[] args) throws InvocationTargetException, IllegalAccessException { public static void main(String[] args) throws InvocationTargetException, IllegalAccessException {
MemberEntity memberEntity = new MemberEntity(); MemberEntity memberEntity = new MemberEntity();
Map<String, Object> body = new HashMap<>(); Map<String, Object> body = new HashMap<>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment