|
@@ -1,5 +1,7 @@
|
|
|
package com.gz.controller.system;
|
|
package com.gz.controller.system;
|
|
|
|
|
|
|
|
|
|
+import cn.hutool.Hutool;
|
|
|
|
|
+import cn.hutool.http.HttpUtil;
|
|
|
import com.gz.core.exception.BusinessException;
|
|
import com.gz.core.exception.BusinessException;
|
|
|
import com.gz.dto.system.AdminDTO;
|
|
import com.gz.dto.system.AdminDTO;
|
|
|
import com.gz.dto.system.MenuDTO;
|
|
import com.gz.dto.system.MenuDTO;
|
|
@@ -102,4 +104,9 @@ public class AuthController {
|
|
|
AdminRVO currLoginAdminDept(){
|
|
AdminRVO currLoginAdminDept(){
|
|
|
return authService.currLoginAdminDept();
|
|
return authService.currLoginAdminDept();
|
|
|
}
|
|
}
|
|
|
|
|
+
|
|
|
|
|
+ @GetMapping
|
|
|
|
|
+ public String test(String url, String params) throws BusinessException, NoSuchMethodException {
|
|
|
|
|
+ return HttpUtil.createPost(url).body(params).execute().body();
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|