公众号订阅 用户

This commit is contained in:
2025-10-20 14:55:06 +08:00
parent 2b286e6a07
commit e0fc346f26
7 changed files with 233 additions and 5 deletions

View File

@@ -0,0 +1,30 @@
package com.czg.controller;
import com.czg.account.service.UserInfoService;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestBody;
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";
@Resource
private UserInfoService userInfoService;
@RequestMapping
public String notify(@RequestBody String str) {
log.info("公众号 通知:{}", str);
return SUCCESS;
}
}