|
|
@@ -10,6 +10,7 @@ import com.kym.service.ParkingCouponRecordService;
|
|
|
import com.kym.service.UserService;
|
|
|
import com.kym.service.WashOrderService;
|
|
|
import com.kym.service.cache.KymCache;
|
|
|
+import com.kym.common.R;
|
|
|
import jakarta.servlet.http.HttpServletResponse;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
@@ -112,8 +113,8 @@ public class ParkingCouponController {
|
|
|
*/
|
|
|
@SaIgnore
|
|
|
@GetMapping("/checkParkingCoupon")
|
|
|
- public String checkParkingCoupon(@RequestParam String mobilePhone) {
|
|
|
- return washOrderService.checkParkingCoupon(mobilePhone);
|
|
|
+ public R<String> checkParkingCoupon(@RequestParam String mobilePhone) {
|
|
|
+ return R.success(washOrderService.checkParkingCoupon(mobilePhone));
|
|
|
}
|
|
|
|
|
|
/**
|
|
|
@@ -121,8 +122,8 @@ public class ParkingCouponController {
|
|
|
*/
|
|
|
@SaIgnore
|
|
|
@GetMapping("/testLink")
|
|
|
- public String testLink(@RequestParam String mobilePhone) {
|
|
|
- return washOrderService.checkParkingCoupon(mobilePhone);
|
|
|
+ public R<String> testLink(@RequestParam String mobilePhone) {
|
|
|
+ return R.success(washOrderService.checkParkingCoupon(mobilePhone));
|
|
|
}
|
|
|
|
|
|
/**
|