无关风月
2024-07-11 eb6b6dbb35a9f029e0b7d269773685c19fd40976
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();
        }
    }