统计 用户 领取 记录
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user