|
|
@@ -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);
|