|
|
@@ -9,6 +9,7 @@ import lombok.RequiredArgsConstructor;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.PathVariable;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
/**
|
|
|
@@ -49,8 +50,8 @@ public class SysMachineApplyController {
|
|
|
* @param id 主键ID
|
|
|
* @return 商城管理-创客机具申请订单详情
|
|
|
*/
|
|
|
- @GetMapping("/{applyId}")
|
|
|
- public R applyDetail(@PathVariable("applyId") String id) {
|
|
|
+ @GetMapping("/applyDetail")
|
|
|
+ public R applyDetail(@RequestParam String id) {
|
|
|
return R.ok(kxsMachineApplyService.applyDetail(id));
|
|
|
}
|
|
|
|