|
@@ -40,44 +40,6 @@ public class NewPayOrderController {
|
|
|
return success(respVO);
|
|
|
}
|
|
|
|
|
|
- @PostMapping("/test1")
|
|
|
- @Operation(summary = "test1")
|
|
|
- public CommonResult<String> test1() {
|
|
|
- FuiouHttpPoster http = new FuiouHttpPoster();
|
|
|
- http.setUrl("//");
|
|
|
- return success("success");
|
|
|
- }
|
|
|
- @PostMapping("/test2")
|
|
|
- @Operation(summary = "test2")
|
|
|
- public CommonResult<String> test2() {
|
|
|
- HttpClient httpclient = new HttpClient();
|
|
|
- return success("success");
|
|
|
- }
|
|
|
- @PostMapping("/test3")
|
|
|
- @Operation(summary = "test3")
|
|
|
- public CommonResult<String> test3() {
|
|
|
- FuiouHttpPoster http = new FuiouHttpPoster();
|
|
|
- http.setUrl("//");
|
|
|
- try {
|
|
|
- String res = http.newPost(JSON.toJSONString(""));
|
|
|
- } catch (Exception e) {
|
|
|
- throw new RuntimeException(e);
|
|
|
- }
|
|
|
- return success("success");
|
|
|
- }
|
|
|
- @PostMapping("/test4")
|
|
|
- @Operation(summary = "test4")
|
|
|
- public CommonResult<String> test4() {
|
|
|
- Test http = new Test();
|
|
|
- http.setUrl("//");
|
|
|
-// try {
|
|
|
-// String res = http.newPost(JSON.toJSONString(""));
|
|
|
-// } catch (Exception e) {
|
|
|
-// throw new RuntimeException(e);
|
|
|
-// }
|
|
|
- return success("success");
|
|
|
- }
|
|
|
-
|
|
|
@PostMapping("/notify")
|
|
|
@Operation(summary = "富友支付订单回调")
|
|
|
public CommonResult<String> notifyFuYouPayOrder(@RequestBody FuYouPaymentResponseVO responseVO) {
|