이연경/spring/demo/src/main/java/kr/eddi/demo/controller/vue/rpg/thirtyoneth/RpgCharacterController.java
<reponame>EDDI-WebAppAcademy/Homework<filename>이연경/spring/demo/src/main/java/kr/eddi/demo/controller/vue/rpg/thirtyoneth/RpgCharacterController.javapackage kr.eddi.demo.controller.vue.rpg.thirtyoneth;

import kr.eddi.demo.entity.vue.rpg.CharacterStatus;
import kr.eddi.demo.entity.vue.rpg.ShopItems;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@Slf4j
@RestController
@RequestMapping("/37th/rpg-game")
@CrossOrigin(origins = "http://localhost:8080", allowedHeaders = "*")

public class RpgCharacterController {


    public static CharacterStatus characterStatus = new CharacterStatus();

    @PostMapping("/get-character-status")
    public CharacterStatus requestCharacterStatus () {
        log.info("requestCharacterStatus()");

        return characterStatus;
    }



}
