教育训练处考试制证系统后端
“djh”
2025-03-07 960ddab080d2434277bb75c188e2f7380856997e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
package com.gkhy.exam.pay.controller;
 
 
import com.alibaba.fastjson2.JSONObject;
import com.gkhy.exam.pay.utils.PayUtils;
import com.ruoyi.common.annotation.Anonymous;
import com.ruoyi.common.core.controller.BaseController;
import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
 
import java.io.IOException;
import java.util.Map;
 
@RestController
@Api(tags = "缴费通知--弃用")
@RequestMapping("/pay/payFees")
public class PayFeesController extends BaseController {
 
 
    @PostMapping("/inform")
    @Anonymous
    public Map<String,String> inform(@RequestBody JSONObject jsonObject){
        PayUtils payUtils = new PayUtils();
        Map<String, String> receive = null;
        try {
            receive = payUtils.receive(jsonObject);
        } catch (IOException e) {
            throw new RuntimeException(e);
        }
        return receive;
    }
 
 
 
 
 
 
 
 
}