이연경/spring/demo/src/main/java/kr/eddi/demo/controller/homework/Homework0720.java
<gh_stars>0

/*
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.Random;


@Slf4j
@org.springframework.web.bind.annotation.RestController

public class Homework0720 {

    @GetMapping("/Homework1")

    public String dice(){
        log.info("주사위 값을 화면에 출력합니다.");
        Random random = new Random();
        int number = random.nextInt(6) + 1;
        //return
        return "주사위 값이 " + number + "가 출력되었습니다.";

        //return "basic/first/Homework";

    }

}

 */















