教育训练处考试制证系统后端
“djh”
2025-01-23 5cc9063aafa13e75d0fd918bd968c59f61525e2d
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
package com.gkhy.exam.pay.controller;
 
 
import com.alibaba.fastjson2.JSONObject;
import com.gkhy.exam.pay.utils.PayUtils;
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")
    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;
    }
 
 
 
 
 
 
 
 
}