支付 回调 处理 请求方式
This commit is contained in:
parent
d4f8eb8649
commit
cf63a0ea6f
|
|
@ -7,14 +7,15 @@ import com.czg.order.service.OrderInfoService;
|
|||
import com.czg.utils.AssertUtil;
|
||||
import jakarta.annotation.Resource;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.PostMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
/**
|
||||
* @author ww
|
||||
* @description
|
||||
*/
|
||||
@Slf4j
|
||||
@RestController
|
||||
@RequestMapping("notify")
|
||||
public class NotifyController {
|
||||
private static final String SUCCESS = "SUCCESS";
|
||||
|
|
@ -24,7 +25,7 @@ public class NotifyController {
|
|||
|
||||
|
||||
@RequestMapping("payCallBack")
|
||||
public String notifyCZGCallBack(CzgBaseRespParams respParams) {
|
||||
public String notifyCallBack(CzgBaseRespParams respParams) {
|
||||
JSONObject czg = CzgPayUtils.getCzg(respParams);
|
||||
AssertUtil.isNull(czg, "回调数据为空");
|
||||
log.info("支付回调数据为:{}", czg);
|
||||
|
|
|
|||
Loading…
Reference in New Issue