@@ -22,7 +22,7 @@ public class WebAppConfig implements WebMvcConfigurer {
"/**/manage_jp/user/login/**",
"/**/test/**",
"/**/getNumListByUserName/**",
- "/**/api/**"
+ "/**/manage_jp/api/**"
);
WebMvcConfigurer.super.addInterceptors(registry);
@@ -25,9 +25,9 @@ public class ProjectSceneController extends BaseController{
IProjectSceneGpsService projectSceneGpsService;
- @PostMapping("/allSceneGps")
- public Result list(@RequestBody ProjectParam param){
- return Result.success(projectSceneGpsService.allSceneGps(param));
+ @GetMapping("/allSceneGps")
+ public Result allSceneGps(){
+ return Result.success(projectSceneGpsService.allSceneGps());
}
@@ -24,5 +24,5 @@ public interface IProjectSceneGpsService extends IService<ProjectSceneGps> {
void updateGps(String num,String lat,String lon,Integer type);
- List<ProjectSceneGps> allSceneGps(ProjectParam param);
+ List<ProjectSceneGps> allSceneGps();
@@ -119,7 +119,7 @@ public class ProjectSceneGpsServiceImpl extends ServiceImpl<IProjectSceneGpsMapp
@Override
- public List<ProjectSceneGps> allSceneGps(ProjectParam param) {
+ public List<ProjectSceneGps> allSceneGps() {
return this.list();