This commit is contained in:
menxipeng
2025-11-01 12:22:02 +08:00
parent 959c94193e
commit f2e96593cd
3 changed files with 59 additions and 16 deletions

View File

@@ -0,0 +1,28 @@
package com.ruoyi.web.controller.back;
import cn.hutool.json.JSONUtil;
import com.ruoyi.common.utils.http.HttpUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.Map;
/**
* 描述:
*
* @author MXP by 2025/10/30
*/
@RequestMapping("/call/back")
@RestController
public class CallBackController {
private static final Logger log = LoggerFactory.getLogger(CallBackController.class);
@RequestMapping("/ios")
public void iosCallBack(@RequestBody Map<String,Object> param){
System.out.println(param);
log.info("ios 回调参数:{}", JSONUtil.toJsonStr( param));
}
}

View File

@@ -67,21 +67,21 @@ spring:
enabled: true
# redis 配置
redis:
# host: 116.204.124.80
# # 端口默认为6379
# port: 16379
# # 数据库索引
# database: 0
# # 密码
# password: Lwz19520416443@
# 地址
host: 127.0.0.1
host: 116.204.124.80
# 端口默认为6379
port: 6379
port: 16379
# 数据库索引
database: 0
# 密码
password:
password: Lwz19520416443@
# # 地址
# host: 127.0.0.1
# # 端口默认为6379
# port: 6379
# # 数据库索引
# database: 0
# # 密码
# password:
# 连接超时时间
timeout: 10s
lettuce: