[ADD]支出分析のためのControllerを作成しました。
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
package com.example.demo.app.presentation.controller;
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.ui.Model;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
|
||||
import com.example.demo.app.domain.service.AnalysisService;
|
||||
|
||||
import lombok.RequiredArgsConstructor;
|
||||
|
||||
|
||||
@Controller
|
||||
@RequiredArgsConstructor
|
||||
public class AnalysisController {
|
||||
|
||||
private final AnalysisService analysisService;
|
||||
|
||||
@GetMapping("/analysis")
|
||||
public String showAnalysis(Model model) {
|
||||
|
||||
//ログインユーザーの取得(セッション)
|
||||
|
||||
//分析結果の取得(Service)
|
||||
|
||||
//model格納
|
||||
|
||||
return "analysis";
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user