统计 用户 领取 记录

This commit is contained in:
2025-11-18 10:54:25 +08:00
parent a748a925fa
commit f1ba32a51a
7 changed files with 136 additions and 47 deletions

View File

@@ -1,35 +0,0 @@
package com.czg.controller;
import com.alibaba.fastjson2.JSONObject;
import jakarta.servlet.http.HttpServletRequest;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.*;
/**
* 回调
* @author ww
* @description
*/
@Slf4j
@RestController
@RequestMapping("/notify")
public class NotifyController {
private static final String SUCCESS = "SUCCESS";
@PostMapping("testOpen")
public JSONObject test1(@RequestBody String string) throws Exception {
log.info("扫码回调Post:{}",string);
return null;
}
@GetMapping("testOpen")
public JSONObject test12(HttpServletRequest request) throws Exception {
request.getParameterMap().forEach((k,v)->{
log.info("扫码回调Get {}:{}",k,v[0]);
});
return null;
}
}