From 08f1b1f1804a8bd833d42f257908d80e88387b55 Mon Sep 17 00:00:00 2001
From: mitao <2763622819@qq.com>
Date: 星期五, 14 三月 2025 11:27:47 +0800
Subject: [PATCH] 3.5增加登录验证、修改密码、人员列表调整
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/MicroCommercialStreetApi.java | 25 +++++++++++++------------
1 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/MicroCommercialStreetApi.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/MicroCommercialStreetApi.java
index 8aad276..15c7fbc 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/MicroCommercialStreetApi.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/api/MicroCommercialStreetApi.java
@@ -307,15 +307,7 @@
*/
@GetMapping("/statistics/top")
public R getTopStatistics(@RequestParam("type") Integer type, @RequestParam("userId") Long userId) {
- if (type.equals(1)) {
- //戳戳游戏
- return mcsGameService.getTopStatistics(userId);
- } else if (type.equals(2)) {
- //戳戳资讯
- return mcsInformationService.getTopStatistics(userId);
- } else {
- return R.fail("未知错误");
- }
+ return mcsGameService.getTopStatistics(userId, type);
}
/**
@@ -421,16 +413,16 @@
/**
* 完成订单更新/新增商家信息
- * @param merchantName
+ * @param orderNo
* @param configId
* @param userId
* @return
*/
@GetMapping("/updateAfterOrder")
- public R updateMcsMerchantAfterOrder(@RequestParam(value = "merchantName", required = false) String merchantName,
+ public R updateMcsMerchantAfterOrder(@RequestParam(value = "orderNo") String orderNo,
@RequestParam("configId") Long configId,
@RequestParam("userId") Long userId) {
- return mcsMerchantService.updateOrAddMcsMerchantAfterOrder(merchantName, configId, userId);
+ return mcsMerchantService.updateOrAddMcsMerchantAfterOrder(orderNo, configId, userId);
}
/**
@@ -613,4 +605,13 @@
public R getMcsProduct(@RequestParam("productId") Long productId) {
return mcsProductService.getMcsProduct(productId);
}
+
+ /**
+ * 定时任务-每隔5分钟执行一次,将已到期的微商业街游戏结束
+ * @return
+ */
+ @GetMapping("/endStatusForMcsGame")
+ public R endStatusForMcsGame() {
+ return mcsGameService.endStatusForMcsGame();
+ }
}
--
Gitblit v1.7.1