zoujiajian 2 éve
szülő
commit
f9fd5098c0

+ 2 - 1
netflix-web/src/main/java/com/cyksj/web/controller/user/CollegeStudentStationController.java

@@ -6,6 +6,7 @@ import com.cyksj.service.station.CollegeStudentStationFService;
 import com.cyksj.web.util.StpUserUtil;
 import lombok.RequiredArgsConstructor;
 import lombok.extern.slf4j.Slf4j;
+import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestMapping;
 import org.springframework.web.bind.annotation.RestController;
@@ -38,7 +39,7 @@ public class CollegeStudentStationController {
 	/**
 	 * 体验车票id
 	 */
-	@PostMapping("/get")
+	@GetMapping("/get")
 	public Result<Long> getExperienceTicket() {
 		long userId = StpUserUtil.getLoginIdAsLong();
 		Long relationId = collegeStudentStationService.getExperienceTicket(userId);