From 20e8e18f5ee0ab801c1782657348b96a894b0139 Mon Sep 17 00:00:00 2001
From: liujie <1793218484@qq.com>
Date: 星期一, 08 九月 2025 14:55:49 +0800
Subject: [PATCH] bug修改
---
cloud-server-other/src/main/java/com/dsh/other/controller/StoreEvaluationController.java | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/cloud-server-other/src/main/java/com/dsh/other/controller/StoreEvaluationController.java b/cloud-server-other/src/main/java/com/dsh/other/controller/StoreEvaluationController.java
index ca0b25a..b1e4821 100644
--- a/cloud-server-other/src/main/java/com/dsh/other/controller/StoreEvaluationController.java
+++ b/cloud-server-other/src/main/java/com/dsh/other/controller/StoreEvaluationController.java
@@ -38,10 +38,10 @@
@ApiImplicitParams({
@ApiImplicitParam(value = "门店id", name = "storeId", required = true, dataType = "int"),
})
- public ResultUtil getStoreDetails(Integer storeId, String content, double score, String imgs){
+ public ResultUtil getStoreDetails(Integer storeId, String content, double score, String imgs) {
try {
Integer uid = tokenUtil.getUserIdFormRedis();
- if(null == uid){
+ if (null == uid) {
return ResultUtil.tokenErr();
}
StoreEvaluation storeEvaluation = new StoreEvaluation();
@@ -54,7 +54,7 @@
storeEvaluation.setInsertTime(new Date());
evaluationService.save(storeEvaluation);
return ResultUtil.success();
- }catch (Exception e){
+ } catch (Exception e) {
return ResultUtil.runErr();
}
}
--
Gitblit v1.7.1